Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
7e016366
Commit
7e016366
authored
Aug 16, 2016
by
Jason Rhinelander
Browse files
Build sphinx docs with -W during travis-ci builds
parent
e357ed3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
.travis.yml
.travis.yml
+10
-3
No files found.
.travis.yml
View file @
7e016366
...
...
@@ -37,13 +37,19 @@ matrix:
sudo
:
true
env
:
PYTHON=2.7 CPP=14 DOCKER=debian:testing NATIVE_DEPS=1
install
:
-
docker exec --tty "$containerid" apt-get -y --no-install-recommends install python2.7-dev python-scipy libeigen3-dev cmake make g++
-
>
docker exec --tty "$containerid" apt-get -y --no-install-recommends install
python2.7-dev python-scipy libeigen3-dev python-sphinx python-sphinx-rtd-theme
cmake make g++
-
compiler
:
gcc-6
services
:
docker
sudo
:
true
env
:
PYTHON=3.5 CPP=14 DOCKER=debian:testing NATIVE_DEPS=1
install
:
-
docker exec --tty "$containerid" apt-get -y --no-install-recommends install python3.5-dev python3-scipy libeigen3-dev cmake make g++
-
>
docker exec --tty "$containerid" apt-get -y --no-install-recommends install
python3.5-dev python3-scipy libeigen3-dev python3-sphinx python3-sphinx-rtd-theme
cmake make g++
cache
:
directories
:
-
$HOME/.cache/pip
...
...
@@ -79,7 +85,7 @@ install:
python$PMAJOR -m virtualenv venv
fi
source venv/bin/activate
pip install numpy scipy
pip install numpy scipy
sphinx sphinx_rtd_theme
wget -q -O eigen.tar.gz https://bitbucket.org/eigen/eigen/get/3.2.9.tar.gz
tar xzf eigen.tar.gz
...
...
@@ -91,5 +97,6 @@ script:
-DPYBIND11_CPP_STANDARD=-std=c++$CPP
-DPYBIND11_WERROR=ON
-
$SCRIPT_RUN_PREFIX make CTEST_OUTPUT_ON_FAILURE=TRUE check -j
2
-
$SCRIPT_RUN_PREFIX make -C docs html SPHINX_OPTIONS=-W
after_script
:
-
if [ -n "$DOCKER" ]; then docker stop "$containerid"; docker rm "$containerid"; fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment