You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
language: cpp
|
|
sudo: false
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
- ccache
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
- deadsnakes
|
|
- kubuntu-backports # cmake 2.8.12
|
|
packages:
|
|
- g++-4.8
|
|
- g++-4.8-multilib
|
|
- g++-multilib
|
|
- python3.5
|
|
- python3.5-dev
|
|
- python3.5-venv
|
|
- python3.5-dev:i386
|
|
- cmake
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
compiler: gcc-4.8
|
|
install:
|
|
- pyvenv-3.5 venv
|
|
- source venv/bin/activate
|
|
- pip install -U pip wheel
|
|
- pip install numpy
|
|
script:
|
|
- CXX=g++-4.8 cmake -DPYBIND11_PYTHON_VERSION=3.5
|
|
- CTEST_OUTPUT_ON_FAILURE=TRUE make check -j 2
|
|
- os: osx
|
|
compiler: clang
|
|
script:
|
|
- cmake -DPYBIND11_PYTHON_VERSION=2.7
|
|
- CTEST_OUTPUT_ON_FAILURE=TRUE make check -j 2
|
|
#- 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
|