case of Doxygen, comment-out the line that removes the ``html`` directory in
``__init__.py`` to see all test output files.
-The project is built on Travis CI on Linux with Python 3.4, 3.5 and 3.6;
-Doxygen theme is tested only on 3.6 and math rendering is disabled as it's
-impossible to get it working on Travis (https://github.com/mosra/m.css/pull/75).
+The project is built on Travis CI on Linux with Python 3.5, 3.6 and 3.7;
+documentation themes are tested only on 3.6+ and math rendering is disabled as
+it's impossible to get it working on Travis (https://github.com/mosra/m.css/pull/75).
Build and coverage status is presented at https://mcss.mosra.cz/build-status/.
Contact
<thead>
<tr>
<th style="border-bottom-width: 0;"></th>
- <th>Python<br />3.4</th>
<th>Python<br />3.5</th>
<th>Python<br />3.6</th>
+ <th>Python<br />3.7</th>
</tr>
<tr>
<th class="m-text-right m-text-middle" style="border-top-width: 0;">code coverage</th>
<tbody>
<tr>
<th class="m-text-right">Pelican theme</th>
- <td rowspan="2" id="mcss-py34"><a> <br/><span class="m-text m-small"> </span></a></td>
<td rowspan="3" id="mcss-py35"><a> <br/><span class="m-text m-small"> </span></a></td>
<td rowspan="4" id="mcss-py36"><a> <br/><span class="m-text m-small"> </span></a></td>
+ <td rowspan="4" id="mcss-py37"><a> <br/><span class="m-text m-small"> </span></a></td>
</tr>
<tr>
<th class="m-text-right">Plugins</th>
</tr>
<tr>
<th class="m-text-right">Graph rendering</th>
- <td class="m-dim"></td>
</tr>
<tr>
<th class="m-text-right">Documentation themes</th>
<td class="m-dim"></td>
- <td class="m-dim"></td>
</tr>
<tr>
<th class="m-text-right">Documentation themes<br/>client search</th>
<td class="m-dim"></td>
- <td class="m-dim"></td>
- <td id="mcss-js"><a> <br/><span class="m-text m-small"> </span></a></td>
+ <td id="mcss-js" colspan="2"><a> <br/><span class="m-text m-small"> </span></a></td>
</tr>
<tr>
<th class="m-text-right">Math rendering</th>
set -e
-wget --no-clobber https://github.com/pybind/pybind11/archive/v2.2.4.tar.gz && tar -xzf v2.2.4.tar.gz
+wget --no-clobber https://github.com/pybind/pybind11/archive/v$PYBIND_VERSION.tar.gz && tar -xzf v$PYBIND_VERSION.tar.gz
-cd pybind11-2.2.4
+cd pybind11-$PYBIND_VERSION
mkdir -p build && cd build
cmake .. \
- -DCMAKE_INSTALL_PREFIX=$HOME/pybind11 \
- -DPYBIND11_PYTHON_VERSION=3.6 \
+ -DCMAKE_INSTALL_PREFIX=$HOME/pybind$PYBIND_VERSION \
+ -DPYBIND11_PYTHON_VERSION=$TRAVIS_PYTHON_VERSION \
-DPYBIND11_TEST=OFF \
-G Ninja
ninja install
matrix:
include:
- - language: python
- python: 3.4
- env:
- - WITH_THEME=ON
- - WITH_DOCUMENTATION=OFF
- - WITH_NODE=OFF
- - JOBID=py34
- language: python
python: 3.5
addons:
- WITH_DOCUMENTATION=ON
- WITH_NODE=OFF
- TRAVIS_BROKEN_MATPLOTLIB_SEED=YES
+ - PYBIND_VERSION=2.2.4
- JOBID=py36
+ - language: python
+ python: 3.7
+ addons:
+ apt:
+ packages:
+ - graphviz
+ - cmake
+ - ninja-build
+ env:
+ - WITH_THEME=ON
+ - WITH_DOCUMENTATION=ON
+ - WITH_NODE=OFF
+ - TRAVIS_BROKEN_MATPLOTLIB_SEED=YES
+ - PYBIND_VERSION=2.3.0
+ - JOBID=py37
- language: node_js
node_js: 8
env:
# pybind11 tests. Math rendering is not tested as dvisvgm is unusable even on
# 16.04.
- if [ "$WITH_DOCUMENTATION" == "ON" ] && [ ! -f $HOME/pybind11/include ]; then $TRAVIS_BUILD_DIR/package/ci/setup-pybind11.sh; fi
- - if [ "$WITH_DOCUMENTATION" == "ON" ]; then cd $TRAVIS_BUILD_DIR/documentation/test_python && mkdir -p build && cd build && cmake -DCMAKE_PREFIX_PATH=$HOME/pybind11 -DPYBIND11_PYTHON_VERSION=3.6 -G Ninja .. && ninja; fi
+ - if [ "$WITH_DOCUMENTATION" == "ON" ]; then cd $TRAVIS_BUILD_DIR/documentation/test_python && mkdir -p build && cd build && cmake -DCMAKE_PREFIX_PATH=$HOME/pybind$PYBIND_VERSION -DPYBIND11_PYTHON_VERSION=$TRAVIS_PYTHON_VERSION -G Ninja .. && ninja; fi
- if [ "$WITH_DOCUMENTATION" == "ON" ]; then cd $TRAVIS_BUILD_DIR/documentation && coverage run -m unittest && cp .coverage ../.coverage.doxygen; fi
# Test client doxygen JS
cache:
directories:
- $HOME/bin
- - $HOME/pybind11
+ - $HOME/pybind2.2.4
+ - $HOME/pybind2.3.0
notifications:
webhooks: