forked from cta-observatory/ctapipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
91 lines (79 loc) · 2.24 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
language: generic
env:
global:
- PYTHONIOENCODING=UTF8
- MPLBACKEND=Agg
- PYTEST_ADDOPTS='--color=yes'
matrix:
include:
- name: conda python 3.6
os: linux
dist: bionic
language: generic
env:
- PYTHON_VERSION=3.6
- CONDA=true
- name: conda python 3.7
os: linux
dist: bionic
language: generic
env:
- PYTHON_VERSION=3.7
- CONDA=true
- os: linux
dist: bionic
language: python
python: 3.6
addons:
apt:
packages:
- pandoc
- graphviz
- os: linux
dist: bionic
language: python
python: 3.7
addons:
apt:
packages:
- pandoc
- graphviz
- os: linux
dist: bionic
language: python
python: 3.8
addons:
apt:
packages:
- pandoc
- graphviz
before_install:
- git fetch --tags
install:
- source ci/install.sh
- python --version
- pip install travis-sphinx codecov pytest-cov
- pip install -e .[all]
script:
- pytest --cov=ctapipe
- ctapipe-info --version
- 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
deploy:
provider: pypi
user: "__token__"
password:
secure: "NApRRmqvrZDcyY1s7IzlD/V+H6K7zb0Sm7c+tX7v412ymL2X86NxZuBY+f7E+/YhZAjgW1kZGJvuifRRz422o3dg5d4G4u3deswTI+L5//vW+qhF3DJRkGAlMm6RKjILe6ePMQxyg5pK7JC8bFfb+5hQgEXEPBGr16zq68CrB0orDqmD1cSi2ur3MTQO6GOJnB8bW33LnCYSP9nb9PNRTHOAggpcuhET57DGxwnI7Icjq6bCnwOzdAEag9CvCh6dsEDnLgbSbxn1TIACtmZZiA757VE9Aw2xQdRCR9ncBY6Y2PZKrdbznA8xi9WQTB5k7+1r3KBNQv5+k04pYXqL/2dx/67wJdOQTckbW2cp+6kzfRdvvJewqg9mC+Wxrgt828dJWvIrR02mIWXdUxV7sxhiP01LX0nH7yC9VdWS3uYAQv768m6/3HgFuTRD2GNxuk3h89lbpZ8A0+7AcBtMAuhr8gi26tvMVJsilxnEs2L4oPStpvbdz5n3qjPUupyR7ek08umtC5AMCdPORkAqw3y6TNXKaSogGMdOew/K/ZyYRexs95ITUqXm5r6MZ7PcLtUyRU7sENJ/Au9U7k1Bb3e2JH/IEdPGjy2fq1lrJIXnGNZkgxLa8zcQJxL5F7zr6CnUQypqM4mVr+1wxsFGJmwvYdVLmzNIc9fOSX7kt/U="
distributions: sdist
skip_existing: true
skip_cleanup: true
on:
tags: true
branch: master
condition: $TRAVIS_PYTHON_VERSION = "3.7"