forked from biocore/micronota
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (39 loc) · 1.38 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
# 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
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install homebrew/science/rnammer; 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 https://conda.anaconda.org/bioconda
- conda config --add channels https://conda.anaconda.org/biocore
# Update conda itself
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
install:
- conda create -n test_env python=$PYVERSION --file ci/conda_requirements.txt
- source activate test_env
- pip install -r ci/pip_requirements.txt
- pip install . --no-deps
script:
- WITH_COVERAGE=TRUE make test
after_success:
- coveralls
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/730436c08fd7f89462b0
on_success: change
on_failure: always