2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-19 16:32:16 +00:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Stefan Seefeld
3c23f859fd Fix id clash in hierarchical tocs. 2016-10-17 08:25:39 -04:00
4 changed files with 23 additions and 16 deletions

View File

@@ -17,20 +17,20 @@ env:
matrix: matrix:
include: include:
- compiler: gcc #- compiler: gcc
env: CXX=g++ PYTHON=python CXXFLAGS=-std=c++98 # env: CXX=g++ PYTHON=python CXXFLAGS=-std=c++98
- compiler: gcc #- compiler: gcc
env: CXX=g++ PYTHON=python CXXFLAGS=-std=c++11 # env: CXX=g++ PYTHON=python CXXFLAGS=-std=c++11
- compiler: gcc #- compiler: gcc
env: CXX=g++ PYTHON=python3 CXXFLAGS=-std=c++98 # env: CXX=g++ PYTHON=python3 CXXFLAGS=-std=c++98
- compiler: gcc #- compiler: gcc
env: CXX=g++ PYTHON=python3 CXXFLAGS=-std=c++11 # env: CXX=g++ PYTHON=python3 CXXFLAGS=-std=c++11
- compiler: clang #- compiler: clang
# clang generates an 'illegal instruction' error in the NumPy check. # # clang generates an 'illegal instruction' error in the NumPy check.
# Perhaps we need to upgrade clang to a newer version ? # # Perhaps we need to upgrade clang to a newer version ?
env: CXX=clang++ PYTHON=python3 CXXFLAGS=-std=c++98 OPTIONS=--no-numpy # env: CXX=clang++ PYTHON=python3 CXXFLAGS=-std=c++98 OPTIONS=--no-numpy
- compiler: clang #- compiler: clang
env: CXX=clang++ PYTHON=python3 CXXFLAGS=-std=c++11 OPTIONS=--no-numpy # env: CXX=clang++ PYTHON=python3 CXXFLAGS=-std=c++11 OPTIONS=--no-numpy
- env: PYTHON=python DOC=1 - env: PYTHON=python DOC=1
@@ -51,6 +51,7 @@ addons:
- xsltproc - xsltproc
- docbook-xsl - docbook-xsl
- python-docutils - python-docutils
- python-pip
cache: cache:
@@ -86,7 +87,12 @@ before_script:
script: script:
- scons config --python=$PYTHON --boost-include=$HOME/Boost $OPTIONS - scons config --python=$PYTHON --boost-include=$HOME/Boost $OPTIONS
- if [ "$DOC" ]; then scons doc; else scons && scons test; fi - |
if [ "$DOC" ]; then
scons doc
else
scons && scons test
fi
after_success: after_success:
# Upload docs only when building upstream. # Upload docs only when building upstream.

View File

@@ -7,7 +7,6 @@ Welcome to the documentation of the Boost.Python NumPy extension!
================================================================= =================================================================
.. toctree:: .. toctree::
:caption: Table of Contents
:maxdepth: 2 :maxdepth: 2
Tutorial <tutorial/index> Tutorial <tutorial/index>

View File

@@ -3,6 +3,7 @@ Boost.Python NumPy extension Reference
.. toctree:: .. toctree::
:caption: Table of Contents :caption: Table of Contents
:name: reftoc
:maxdepth: 2 :maxdepth: 2
dtype dtype

View File

@@ -3,6 +3,7 @@ Boost.Python NumPy extension Tutorial
.. toctree:: .. toctree::
:caption: Table of Contents :caption: Table of Contents
:name: tuttoc
:maxdepth: 2 :maxdepth: 2
simple simple