-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
42 lines (42 loc) · 1.47 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
# Check on http://lint.travis-ci.org/ after modifying it!
sudo: false
language: c
os:
- linux
#- osx
env:
- PYVERSION="3.5"
before_install:
- echo "$TRAVIS_OS_NAME"
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-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
- conda config --add channels conda-forge
#- conda config --add channels biocore
#- conda config --add channels https://conda.anaconda.org/bioconda
#- conda config --add channels https://conda.anaconda.org/zechxu
# Update conda itself
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
install:
#- conda create -n qiime_env python=2.7 qiime matplotlib=1.4.3 mock nose -c bioconda
- conda create -n test_env python=$PYVERSION
- source activate test_env
- conda install -c conda-forge pyproj
- conda install --file ci/conda_requirements.txt
- pip install -r ci/pip_requirements.txt
- pip install . --no-deps
script:
- WITH_COVERAGE=TRUE make all
after_success:
- coveralls
#notifications:
# webhooks:
# urls:
# - https://webhooks.gitter.im/e/730436c08fd7f89462b0
# on_success: change
# on_failure: always