forked from quiltdata/quilt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (49 loc) · 1.05 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# use miniconda for python, so don't specify "python", which doesn't
# work on travis osx anyway
language: generic
os:
- linux
env:
global:
# Registry supports only a subset of the matrix
- TEST_REGISTRY=false
# Registry configs
- FLASK_APP=quilt_server
- FLASK_DEBUG=1
- QUILT_SERVER_CONFIG=dev_config.py
addons:
postgresql: "9.6"
matrix:
fast_finish: true
include:
- os: linux
language: python
python: "2.7"
- os: linux
language: python
python: "3.5"
env:
TEST_REGISTRY=true
services:
- postgresql
- os: linux
language: python
python: "3.6"
env:
TEST_REGISTRY=true
services:
- postgresql
install:
# install quilt from setup.py
- travis_retry pip install ./compiler['tests']
- |
if [[ "$TEST_REGISTRY" = true ]]; then
travis_retry pip install -r registry/requirements.txt
pip install registry
fi
script:
- pytest compiler
- |
if [[ "$TEST_REGISTRY" = true ]]; then
pytest ./registry
fi