mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-09 06:38:12 +08:00
faster ci (#713)
* parallelize docker build * cache npm too * testing skip install
This commit is contained in:
+6
-2
@@ -4,14 +4,14 @@ sudo: required
|
|||||||
node_js:
|
node_js:
|
||||||
- 8
|
- 8
|
||||||
cache:
|
cache:
|
||||||
pip: true
|
- pip
|
||||||
|
- npm
|
||||||
install:
|
install:
|
||||||
- set -eo pipefail
|
- set -eo pipefail
|
||||||
- pip install flake8
|
- pip install flake8
|
||||||
- make build
|
- make build
|
||||||
- make install
|
- make install
|
||||||
- pip install -r server/requirements-dev.txt
|
- pip install -r server/requirements-dev.txt
|
||||||
- docker build .
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
@@ -21,6 +21,10 @@ jobs:
|
|||||||
- name: "Branch Tests 3.6"
|
- name: "Branch Tests 3.6"
|
||||||
python: "3.6"
|
python: "3.6"
|
||||||
script: ./travis-build.sh
|
script: ./travis-build.sh
|
||||||
|
- name: "Docker Build"
|
||||||
|
install: skip
|
||||||
|
python: "3.6"
|
||||||
|
script: docker build .
|
||||||
- name: "Smoke Tests"
|
- name: "Smoke Tests"
|
||||||
python: "3.6"
|
python: "3.6"
|
||||||
if: branch = master AND type = cron
|
if: branch = master AND type = cron
|
||||||
|
|||||||
Reference in New Issue
Block a user