This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
forked from networkx/networkx
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
69 lines (62 loc) · 1.69 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
# After changing this file, check it on:
# http://lint.travis-ci.org/
#
language: python
cache: pip
matrix:
include:
- os: linux
python: 3.7
env:
- EXTRA_DEPS=1
- DEPLOY_DOCS=1
addons:
apt:
packages:
- libgdal-dev
- graphviz
- texlive
- texlive-latex-extra
- latexmk
- texlive-xetex
- fonts-freefont-otf
- xindy
- lmodern
- libgeos-dev
- libproj-dev
- libspatialindex-dev
- libxkbcommon-x11-0
- optipng
- libxcb-icccm4
- libxcb-image0
- libxcb-keysyms1
- libxcb-randr0
- libxcb-render-util0
- xcb libxcb-xfixes0
- libxcb-xinerama0
- libxcb-shape0
before_install:
# prepare the system to install prerequisites or dependencies
- source tools/travis/before_install.sh
- source tools/travis/linux_install.sh
install:
- echo "Nothing to see here."
script:
- echo "Nothing to see here."
after_success:
- if [[ $TRAVIS_PULL_REQUEST == false && $TRAVIS_BRANCH == "master" ]]; then
pip install --upgrade pip wheel setuptools;
pip install -r requirements.txt;
pip install -r requirements/extra.txt;
pip install -r requirements/example-requirements.txt;
pip install -r requirements/example.txt;
pip install -U -r requirements/doc.txt;
export CPLUS_INCLUDE_PATH=/usr/include/gdal;
export C_INCLUDE_PATH=/usr/include/gdal;
pip install gdal==1.11.2;
pip install .;
source tools/travis/build_docs.sh;
source tools/travis/deploy_docs.sh;
fi
notifications:
email: false