blob: 9a9088fa8ddb255eca8cee9ce4a2c71472748f90 [file] [log] [blame]
Wenzel Jakob3b806d42015-10-11 16:29:35 +02001language: cpp
2sudo: false
Wenzel Jakoba40c27e2016-01-21 19:21:59 +01003cache:
4 directories:
5 - $HOME/.cache/pip
Wenzel Jakob3b806d42015-10-11 16:29:35 +02006addons:
7 apt:
8 sources:
9 - ubuntu-toolchain-r-test
10 - deadsnakes
11 packages:
12 - g++-4.8
Wenzel Jakob5e90fa42015-11-24 21:24:04 +010013 - g++-4.8-multilib
14 - g++-multilib
Wenzel Jakob3b806d42015-10-11 16:29:35 +020015 - python3.5
16 - python3.5-dev
17 - python3.5-venv
Wenzel Jakob5e90fa42015-11-24 21:24:04 +010018 - python3.5-dev:i386
Wenzel Jakob3b806d42015-10-11 16:29:35 +020019matrix:
20 include:
21 - os: linux
22 compiler: gcc-4.8
23 script:
24 - pyvenv-3.5 venv
Wenzel Jakobb1b71402015-10-18 16:48:30 +020025 - 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 Jakob3b806d42015-10-11 16:29:35 +020026 - 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 Jakobb1b71402015-10-18 16:48:30 +020033 - cmake -DPYBIND11_PYTHON_VERSION=2.7
Wenzel Jakob3b806d42015-10-11 16:29:35 +020034 - make -j 2
35 - CTEST_OUTPUT_ON_FAILURE=TRUE make test
Wenzel Jakob5e90fa42015-11-24 21:24:04 +010036 #- 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