-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
30 lines (30 loc) · 978 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
language: python
python:
- "2.7"
notifications:
email: false
# command to install dependencies
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y gcc gfortran
- wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- 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 r
- conda config --add channels bioconda
- conda info -a
- conda install hmmer muscle mafft
- conda install -c anaconda pyqt=4 numpy=1.11.3
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
- pip install --upgrade pip
- pip install pep8
install:
- cat requirements.txt | xargs -n 1 -L 1 pip install
- python setup.py install
# command to run tests
script:
- find . -path ./scripts -prune -o -name \*.py -exec pep8 --ignore=E402,E501,E265,E731,E712 {} +