forked from kundajelab/dragonn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (23 loc) · 896 Bytes
/
.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
# Config file for automatic testing at travis-ci.org
# Conda testing for Travis CI from https://gist.github.com/dan-blanchard/7045057
language: python
python:
- 2.7
notifications:
email: false
# Setup Anaconda
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
# Install in batch mode
- ./miniconda.sh -b -p $HOME/miniconda
- export PATH=$HOME/miniconda/bin:$PATH
- conda update --yes conda
install:
# pip cannot easily install scipy, matplotlib or graphviz on the Travis CI server
- conda install --yes python=$TRAVIS_PYTHON_VERSION scipy matplotlib graphviz pytest
# Install the cloned dragonn package from source using Anaconda
# Process the deeplift dependency_links in setup.py
- pip install . --process-dependency-links
# run tests
script: py.test