-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
47 lines (43 loc) · 1.48 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
# Based on http://conda.pydata.org/docs/travis.html
language: python
sudo: false # use container based build
notifications:
email: false
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
env:
- CHANNEL=defaults
- CHANNEL=forge
matrix:
fast_finish: true
allow_failures:
- env: CHANNEL=forge
- python: 3.3
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh -O miniconda.sh; fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
- conda update -q conda
- conda info -a
install:
- conda env create --file ci/requirements-py${TRAVIS_PYTHON_VERSION}_${CHANNEL}.yml
- source activate cdb${TRAVIS_PYTHON_VERSION}_${CHANNEL}_test_env
- pip install -e .[testing]
script:
# The first recipe is a bit longer. Prevent TRAVIS from exiting early:
- flake8
- py.test --cov=cdb_query
#- travis_wait 25 bash cdb_query/recipes/recipe01.sh test
#- bash cdb_query/recipes/recipe03.sh test
#- bash cdb_query/recipes/recipe04.sh test
#- bash cdb_query/recipes/recipe05.sh test
#- bash cdb_query/recipes/recipe06.sh test
#- bash cdb_query/recipes/recipe07.sh test
#- bash cdb_query/recipes/recipe08.sh test