mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
optimizing CI build times
This commit is contained in:
parent
3e09cb7df5
commit
5f26f69a03
@ -23,12 +23,12 @@ jobs:
|
||||
POSTGRES_PASSWORD: "test"
|
||||
POSTGRES_DB: "test"
|
||||
- image: circleci/mongo:3.4.18
|
||||
- image: mcr.microsoft.com/mssql/server:2017-GA-ubuntu
|
||||
environment:
|
||||
SA_PASSWORD: "Admin12345"
|
||||
ACCEPT_EULA: "Y"
|
||||
- image: cockroachdb/cockroach-unstable:latest
|
||||
command: start --insecure
|
||||
# - image: mcr.microsoft.com/mssql/server:2017-GA-ubuntu
|
||||
# environment:
|
||||
# SA_PASSWORD: "Admin12345"
|
||||
# ACCEPT_EULA: "Y"
|
||||
# - image: cockroachdb/cockroach-unstable:latest
|
||||
# command: start --insecure
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
@ -43,7 +43,6 @@ jobs:
|
||||
- v1-dependencies-
|
||||
|
||||
- run: npm install
|
||||
- run: npm install sqlite3 --build-from-source
|
||||
|
||||
- save_cache:
|
||||
paths:
|
||||
@ -51,7 +50,7 @@ jobs:
|
||||
key: v1-dependencies-{{ checksum "package.json" }}
|
||||
|
||||
# - run: docker-compose up -d
|
||||
|
||||
|
||||
# run tests
|
||||
- run: npm run lint
|
||||
- run: npm test
|
||||
|
||||
@ -18,7 +18,6 @@ before_script:
|
||||
- sudo service postgresql stop
|
||||
- docker-compose up -d
|
||||
- cp ormconfig.travis.json ormconfig.json
|
||||
- npm install sqlite3 --build-from-source
|
||||
|
||||
script:
|
||||
- npm run lint
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user