mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-04 16:58:11 +08:00
Added initial travis config file
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
language: python
|
||||
python:
|
||||
- "3.6"
|
||||
node_js:
|
||||
- "8"
|
||||
cache:
|
||||
pip: true
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- httpie
|
||||
install:
|
||||
- set -eo pipefail
|
||||
- pip install flake8
|
||||
- ./bin/build-client
|
||||
- python setup.py install
|
||||
script:
|
||||
- set -eo pipefail
|
||||
- flake8 server/app/
|
||||
- pytest -s server/test/test_filter.py server/test/test_scanpy_engine.py
|
||||
- cellxgene &
|
||||
- for i in {1..90}; do if http :5005/api/v0.1/initialize > /dev/null; then break; else echo "Waiting for server..."; sleep 1; fi; done
|
||||
- pytest server/test/test_api.py
|
||||
Reference in New Issue
Block a user