-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
84 lines (73 loc) · 1.6 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
language: python
python:
- 3.5
- 3.6
addons:
apt:
packages:
- doxygen
cache:
pip: true
directories:
- $HOME/.cache/pre-commit
- $HOME/.pre-commit
- $HOME/Library/Caches/Homebrew
- $HOME/.ccache
env:
global:
- BUILD_PATH=pages-build
matrix:
fast_finish: true
include:
- python: 3.7
sudo: required
dist: xenial
- python: nightly
sudo: required
dist: xenial
# OSX
- os: osx
python: 3.5
language: generic
env:
- TRAVIS_PYTHON_VERSION=3.5.6
- os: osx
python: 3.6
language: generic
env:
- TRAVIS_PYTHON_VERSION=3.6.6
- os: osx
python: 3.7
language: generic
env:
- TRAVIS_PYTHON_VERSION=3.7.0
allow_failures:
- python: nightly
sudo: required
dist: xenial
install:
- >
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
echo ${TRAVIS_PYTHON_VERSION}
brew upgrade -y pyenv openssl
eval "$(pyenv init -)"
pyenv install --skip-existing --keep --verbose ${TRAVIS_PYTHON_VERSION}
pyenv shell ${TRAVIS_PYTHON_VERSION}
brew install -y https://raw.githubusercontent.com/Homebrew/homebrew-core/5b680fb58fedfb00cd07a7f69f5a621bb9240f3b/Formula/doxygen.rb;
fi
- pip install -U pip setuptools wheel
- pip install -r requirements.txt
- python -V
- doxygen --version
script:
- make html
- python rebuild_readme.py
- doxygen
- mkdir -p ${BUILD_PATH}
- cp -Rv build/* $BUILD_PATH
- cp -Rv docs/* $BUILD_PATH
before_cache:
- >
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew --cache
fi