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

  1. language: cpp
  2. sudo: false
  3. cache:
  4. directories:
  5. - $HOME/.cache/pip
  6. - ccache
  7. addons:
  8. apt:
  9. sources:
  10. - ubuntu-toolchain-r-test
  11. - deadsnakes
  12. - kubuntu-backports # cmake 2.8.12
  13. packages:
  14. - g++-4.8
  15. - g++-4.8-multilib
  16. - g++-multilib
  17. - python3.5
  18. - python3.5-dev
  19. - python3.5-venv
  20. - python3.5-dev:i386
  21. - cmake
  22. matrix:
  23. include:
  24. - os: linux
  25. compiler: gcc-4.8
  26. install:
  27. - pyvenv-3.5 venv
  28. - source venv/bin/activate
  29. - pip install -U pip wheel
  30. - pip install numpy
  31. script:
  32. - CXX=g++-4.8 cmake -DPYBIND11_PYTHON_VERSION=3.5
  33. - CTEST_OUTPUT_ON_FAILURE=TRUE make check -j 2
  34. - os: osx
  35. compiler: clang
  36. script:
  37. - cmake -DPYBIND11_PYTHON_VERSION=2.7
  38. - CTEST_OUTPUT_ON_FAILURE=TRUE make check -j 2
  39. #- os: linux
  40. #compiler: gcc-4.8
  41. #script:
  42. #- pyvenv-3.5 venv
  43. #- 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
  44. #- make -j 2