forked from PyTables/PyTables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (46 loc) · 992 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
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
arch:
- arm64
language: python
dist: xenial
python:
- 3.7
addons:
apt_packages:
- libbz2-dev
- libhdf5-serial-dev
- liblzo2-dev
before_install:
- pip install cython
- python setup.py sdist
install:
- pip install dist/*.tar.gz
script:
- cd .. && python -m tables.tests.test_all
- pt2to3 -h
- ptrepack -h
- ptdump -h
- pttree -h
before_deploy:
- pip install sphinx sphinx_rtd_theme ipython
- cd $TRAVIS_BUILD_DIR/doc
- make html
- touch build/html/.nojekyll
- echo "www.pytables.org" > build/html/CNAME
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: doc/build/html
repo: PyTables/pytables.github.com
target_branch: master
keep_history: true # important! keep docs/pdfs that are not part of this repo
verbose: true
on:
branch: master
python: 3.7
tags: true
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/58f8a9014ef02f6217ec
on_success: change