forked from codeplaysoftware/visioncpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (35 loc) · 1.06 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
language: python
sudo: true
dist: trusty
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
# maintainers to fix their pypy-dev package.
- "pypy"
install:
- pip install coveralls
- cd contrib/python && python ./setup.py install && cd ../../
branches:
except:
- gh-pages
env:
global:
- GH_REPO: github.com/codeplaysoftware/visioncpp.git
addons:
apt:
packages:
- clang-format-3.6
- doxygen
- graphviz
before_script:
- chmod +x ./scripts/travis_build_docs.sh
- chmod +x ./scripts/travis_deploy_docs.sh
script:
- 'if [ "$TRAVIS_REPO_SLUG" = "codeplaysoftware/visioncpp" ] && [ "$TRAVIS_BRANCH" = "master" ]; then bash ./scripts/travis_build_docs.sh; fi'
- cd contrib/python && coverage run --source=visioncpp setup.py test && cd ../../
after_success:
- 'if [ "$TRAVIS_REPO_SLUG" = "codeplaysoftware/visioncpp" ] && [ "$TRAVIS_BRANCH" = "master" ]; then bash ./scripts/travis_deploy_docs.sh; fi'
- cd contrib/python && coveralls && cd ../../