forked from cta-observatory/ctapipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (52 loc) · 1.16 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
language: generic
env:
global:
- PYTHONIOENCODING=UTF8
- MPLBACKEND=Agg
matrix:
include:
- os: linux
language: generic
env:
- PYTHON_VERSION=3.6
- CONDA=true
- os: linux
language: generic
env:
- PYTHON_VERSION=3.7
- CONDA=true
- os: linux
language: python
python: 3.6
addons:
apt:
packages:
- pandoc
- graphviz
- os: linux
language: python
python: 3.7
addons:
apt:
packages:
- pandoc
- graphviz
before_install:
- git fetch --tags
install:
- source ci/install.sh
- python --version
- ulimit -s 16000 # increase stack size limit, for libhessio
- pip install travis-sphinx codecov pytest-cov
- python setup.py develop
script:
- pytest --cov=ctapipe
- ctapipe-info --version # print out the version string
- travis-sphinx -v --outdir=docbuild build --source=docs/
after_script:
- if [[ "$CONDA" == "true" ]];then
conda deactivate
fi
after_success:
- travis-sphinx -v --outdir=docbuild deploy
- codecov