forked from OSGeo/OSGeoLive-doc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (46 loc) · 1.32 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
# ------------------------------------------------------------------------------
# Travis CI scripts
# Copyright(c) pgRouting Contributors
#
# Main configuration
# ------------------------------------------------------------------------------
language: python
group: edge
dist: trusty
# executed. So things have to be tested oe by one.
addons:
apt:
sources:
- ubuntu-toolchain-r-test
# For cmake
- kubuntu-backports
packages:
- cmake
- python-sphinx
- graphviz
- cpanminus
install:
- pip install sphinx==1.6.5
- pip install sphinx-intl
- pip install sphinxjp.themes.revealjs
- sudo cpanm -f -n Text::SimpleTable::AutoWidth
script:
- mkdir build
- cd build
#- cmake -DLOCALE=ON -DALL_DOC=ON -DALL_LANG=ON ..
- cmake -DHTML=ON -DFI=ON -DIT=ON -DJA=ON -DES=ON -DFR=ON -DDE=ON -DHU=ON -@OSGeoLiveDoc_DEBUG=ON ..
- make
- cd ..
- bash scripts/clean-images.sh
- touch build/doc/_build/html/.nojekyll # needed for gh pages to keep dirs starting with _
- du -h build/doc/_build/html
# deploy to github pages - see https://docs.travis-ci.com/user/deployment/pages/
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
local_dir: build/doc/_build/html/
verbose: true
on:
branch: master # switch to master when ok