forked from gammapy/gamma-cat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (23 loc) · 799 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
language: C
install:
# Set up miniconda
- 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"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
# Now install our dependencies
- conda env create -f environment.yml
- source activate gamma-cat
script:
# Workaround for the following issue:
# https://travis-ci.org/gammapy/gamma-cat/builds/225367662#L755
# Reported here: https://github.com/bokeh/bokeh/issues/6193
#- export BOKEH_DOCS_MISSING_API_KEY_OK=yes
- export PYTHONPATH=.:$PYTHONPATH
- python make.py --help
- python make.py all --clean --webpage
- python -m pytest -v --cov=gammacat
- cd webpage && make html