optimizing CI build times

This commit is contained in:
Kononnable 2019-05-05 15:13:45 +02:00
parent 3e09cb7df5
commit 5f26f69a03
2 changed files with 7 additions and 9 deletions

View File

@ -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

View File

@ -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