-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
25 lines (25 loc) · 921 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
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://raw.githubusercontent.com/qiime2/environment-files/master/2020.8/release/qiime2-2020.8-py36-linux-conda.yml
- conda env create -q -n test-env --file qiime2-2020.8-py36-linux-conda.yml
- source activate test-env
- conda install -q pytest-cov bokeh
- conda install -q -c conda-forge xgboost tqdm 'lightgbm<3' sqlalchemy pyyaml
- pip install -q flake8 coveralls
- make install
script:
- make test-cov
- ./q2_mlab/scripts/test_orchestrator_cli.sh
after_success:
- coveralls