-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
27 lines (27 loc) · 1008 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
dist: trusty
sudo: false
language: python
before_install:
- export MPLBACKEND='Agg'
- wget -q https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- export MINICONDA_PREFIX="$HOME/miniconda"
- bash miniconda.sh -b -p $MINICONDA_PREFIX
- export PATH="$MINICONDA_PREFIX/bin:$PATH"
- conda config --set always_yes yes
- conda update -q conda
- conda info -a
install:
- wget -q https://data.qiime2.org/distro/core/qiime2-2019.4-py36-linux-conda.yml
- wget -q https://bio.informatik.uni-jena.de/repository/dist-release-local/de/unijena/bioinf/ms/sirius/4.0.1/sirius-4.0.1-linux64-headless.zip
- unzip sirius-4.0.1-linux64-headless.zip
- mv sirius-linux64-headless-4.0.1 q2_qemistree/tests/data/
- conda env create -q -n test-env --file qiime2-2019.4-py36-linux-conda.yml
- source activate test-env
- conda install -q pytest-cov
- pip install -q flake8 coveralls
- make install
script:
- make lint
- make test-cov
after_success:
- coveralls