Wenzel Jakob | 3b806d4 | 2015-10-11 16:29:35 +0200 | [diff] [blame] | 1 | language: cpp |
| 2 | sudo: false |
| 3 | addons: |
| 4 | apt: |
| 5 | sources: |
| 6 | - ubuntu-toolchain-r-test |
| 7 | - deadsnakes |
| 8 | packages: |
| 9 | - g++-4.8 |
| 10 | - python3.5 |
| 11 | - python3.5-dev |
| 12 | - python3.5-venv |
| 13 | matrix: |
| 14 | include: |
| 15 | - os: linux |
| 16 | compiler: gcc-4.8 |
| 17 | script: |
| 18 | - pyvenv-3.5 venv |
Wenzel Jakob | b1b7140 | 2015-10-18 16:48:30 +0200 | [diff] [blame^] | 19 | - cmake -DPYBIND11_PYTHON_VERSION=3.5 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.5m -DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_EXECUTABLE:FILEPATH=`pwd`/venv/bin/python3.5 -DCMAKE_CXX_COMPILER=g++-4.8 |
Wenzel Jakob | 3b806d4 | 2015-10-11 16:29:35 +0200 | [diff] [blame] | 20 | - make -j 2 |
| 21 | - source venv/bin/activate |
| 22 | - pip install numpy |
| 23 | - CTEST_OUTPUT_ON_FAILURE=TRUE make test |
| 24 | - os: osx |
| 25 | compiler: clang |
| 26 | script: |
Wenzel Jakob | b1b7140 | 2015-10-18 16:48:30 +0200 | [diff] [blame^] | 27 | - cmake -DPYBIND11_PYTHON_VERSION=2.7 |
Wenzel Jakob | 3b806d4 | 2015-10-11 16:29:35 +0200 | [diff] [blame] | 28 | - make -j 2 |
| 29 | - CTEST_OUTPUT_ON_FAILURE=TRUE make test |