-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
41 lines (41 loc) · 1.49 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
language: python
python:
- "3.6"
- "3.7"
- "3.8"
before_install:
- sudo apt-get -qq update
- pip install -U pip
- export PYTHONPATH=$PYTHONPATH:$(pwd)
- python setup.py install
install:
- sudo apt-get update -y
- sudo apt-get install build-essential curl file git
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh && bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda config --add channels defaults
- conda config --add channels bioconda
- conda config --add channels conda-forge
- conda create -n test
- conda activate test
# - conda install blast busco=4.0.5 diamond transdecoder ujson pandas yaml chardet pyyaml numpy joblib
- conda install blast busco=4.0.5 diamond ujson pandas yaml chardet pyyaml numpy joblib
- python3 -m pip install -e . --user
- python setup.py install
- configure_busco.sh "eukaryota_odb10"
branches:
except:
- remodeling
script:
- pip install coverage #==4.5.4
- pip install biopython==1.77
- py.test -n 3 -v --cov EUKulele --cov-report term-missing
#- travis_wait 25 py.test tests/code/test_mags_2.py --doctest-modules -v --cov EUKulele --cov-report term-missing
#- py.test tests/code/test_mets.py --doctest-modules -v --cov EUKulele --cov-report term-missing
after_success:
- coveralls