2015-10-11 14:29:35 +00:00
|
|
|
language: cpp
|
|
|
|
sudo: false
|
2016-01-21 18:21:59 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
2015-10-11 14:29:35 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- deadsnakes
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
2015-11-24 20:24:04 +00:00
|
|
|
- g++-4.8-multilib
|
|
|
|
- g++-multilib
|
2015-10-11 14:29:35 +00:00
|
|
|
- python3.5
|
|
|
|
- python3.5-dev
|
|
|
|
- python3.5-venv
|
2015-11-24 20:24:04 +00:00
|
|
|
- python3.5-dev:i386
|
2015-10-11 14:29:35 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc-4.8
|
|
|
|
script:
|
|
|
|
- pyvenv-3.5 venv
|
2015-10-18 14:48:30 +00:00
|
|
|
- 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
|
2015-10-11 14:29:35 +00:00
|
|
|
- make -j 2
|
|
|
|
- source venv/bin/activate
|
|
|
|
- pip install numpy
|
|
|
|
- CTEST_OUTPUT_ON_FAILURE=TRUE make test
|
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
|
|
|
script:
|
2015-10-18 14:48:30 +00:00
|
|
|
- cmake -DPYBIND11_PYTHON_VERSION=2.7
|
2015-10-11 14:29:35 +00:00
|
|
|
- make -j 2
|
|
|
|
- CTEST_OUTPUT_ON_FAILURE=TRUE make test
|
2015-11-24 20:24:04 +00:00
|
|
|
#- os: linux
|
|
|
|
#compiler: gcc-4.8
|
|
|
|
#script:
|
|
|
|
#- pyvenv-3.5 venv
|
|
|
|
#- 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
|
|
|
|
#- make -j 2
|