Wenzel Jakob | 3b806d4 | 2015-10-11 16:29:35 +0200 | [diff] [blame] | 1 | language: cpp |
| 2 | sudo: false |
Wenzel Jakob | a40c27e | 2016-01-21 19:21:59 +0100 | [diff] [blame] | 3 | cache: |
| 4 | directories: |
| 5 | - $HOME/.cache/pip |
Wenzel Jakob | 3b806d4 | 2015-10-11 16:29:35 +0200 | [diff] [blame] | 6 | addons: |
| 7 | apt: |
| 8 | sources: |
| 9 | - ubuntu-toolchain-r-test |
| 10 | - deadsnakes |
| 11 | packages: |
| 12 | - g++-4.8 |
Wenzel Jakob | 5e90fa4 | 2015-11-24 21:24:04 +0100 | [diff] [blame] | 13 | - g++-4.8-multilib |
| 14 | - g++-multilib |
Wenzel Jakob | 3b806d4 | 2015-10-11 16:29:35 +0200 | [diff] [blame] | 15 | - python3.5 |
| 16 | - python3.5-dev |
| 17 | - python3.5-venv |
Wenzel Jakob | 5e90fa4 | 2015-11-24 21:24:04 +0100 | [diff] [blame] | 18 | - python3.5-dev:i386 |
Wenzel Jakob | 3b806d4 | 2015-10-11 16:29:35 +0200 | [diff] [blame] | 19 | matrix: |
| 20 | include: |
| 21 | - os: linux |
| 22 | compiler: gcc-4.8 |
| 23 | script: |
| 24 | - pyvenv-3.5 venv |
Wenzel Jakob | b1b7140 | 2015-10-18 16:48:30 +0200 | [diff] [blame] | 25 | - 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] | 26 | - make -j 2 |
| 27 | - source venv/bin/activate |
| 28 | - pip install numpy |
| 29 | - CTEST_OUTPUT_ON_FAILURE=TRUE make test |
| 30 | - os: osx |
| 31 | compiler: clang |
| 32 | script: |
Wenzel Jakob | b1b7140 | 2015-10-18 16:48:30 +0200 | [diff] [blame] | 33 | - cmake -DPYBIND11_PYTHON_VERSION=2.7 |
Wenzel Jakob | 3b806d4 | 2015-10-11 16:29:35 +0200 | [diff] [blame] | 34 | - make -j 2 |
| 35 | - CTEST_OUTPUT_ON_FAILURE=TRUE make test |
Wenzel Jakob | 5e90fa4 | 2015-11-24 21:24:04 +0100 | [diff] [blame] | 36 | #- os: linux |
| 37 | #compiler: gcc-4.8 |
| 38 | #script: |
| 39 | #- pyvenv-3.5 venv |
| 40 | #- 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 -DCMAKE_CXX_FLAGS=-m32 |
| 41 | #- make -j 2 |