-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
32 lines (32 loc) · 909 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
29
30
31
32
language: python
python:
- "2.7"
install:
- wget https://github.com/samtools/samtools/releases/download/1.2/samtools-1.2.tar.bz2
- tar xvf samtools-1.2.tar.bz2
- cd samtools-1.2
- make
- cd ..
- export PATH="samtools-1.2:$PATH"
- case "$TRAVIS_PYTHON_VERSION" in
2*)
wget http://repo.continuum.io/miniconda/Miniconda-3.4.2-Linux-x86_64.sh -O miniconda.sh;
PYTHON="python"
;;
3*)
wget http://repo.continuum.io/miniconda/Miniconda3-3.4.2-Linux-x86_64.sh -O miniconda.sh;
PYTHON="python3"
;;
esac
- 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 update -q conda
- conda info -a
- conda create -q -n revmut-env
numpy pandas nose pip
- source activate revmut-env
- pip install -r requirements.txt
script:
- nosetests