faster ci (#713)

* parallelize docker build

* cache npm too

* testing skip install
This commit is contained in:
Charlotte Weaver
2019-04-15 16:34:40 -07:00
committed by GitHub
parent d581a0d460
commit ad0a3c939c
+6 -2
View File
@@ -4,14 +4,14 @@ sudo: required
node_js:
- 8
cache:
pip: true
- pip
- npm
install:
- set -eo pipefail
- pip install flake8
- make build
- make install
- pip install -r server/requirements-dev.txt
- docker build .
jobs:
include:
@@ -21,6 +21,10 @@ jobs:
- name: "Branch Tests 3.6"
python: "3.6"
script: ./travis-build.sh
- name: "Docker Build"
install: skip
python: "3.6"
script: docker build .
- name: "Smoke Tests"
python: "3.6"
if: branch = master AND type = cron