Files
cellxgene/.travis.yml
T
Charlotte Weaver ad0a3c939c faster ci (#713)
* parallelize docker build

* cache npm too

* testing skip install
2019-04-15 16:34:40 -07:00

33 lines
613 B
YAML

language: python
dist: xenial
sudo: required
node_js:
- 8
cache:
- pip
- npm
install:
- set -eo pipefail
- pip install flake8
- make build
- make install
- pip install -r server/requirements-dev.txt
jobs:
include:
- name: "Branch Tests 3.7"
python: "3.7"
script: ./travis-build.sh
- 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
script:
- npm run --prefix client/ smoke-test