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.

42 lines
1.3 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. packages:
  13. - g++-4.8
  14. - g++-4.8-multilib
  15. - g++-multilib
  16. - python3.5
  17. - python3.5-dev
  18. - python3.5-venv
  19. - python3.5-dev:i386
  20. matrix:
  21. include:
  22. - os: linux
  23. compiler: gcc-4.8
  24. script:
  25. - pyvenv-3.5 venv
  26. - 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
  27. - make -j 2
  28. - source venv/bin/activate
  29. - pip install numpy
  30. - CTEST_OUTPUT_ON_FAILURE=TRUE make test
  31. - os: osx
  32. compiler: clang
  33. script:
  34. - cmake -DPYBIND11_PYTHON_VERSION=2.7
  35. - make -j 2
  36. - CTEST_OUTPUT_ON_FAILURE=TRUE make test
  37. #- os: linux
  38. #compiler: gcc-4.8
  39. #script:
  40. #- pyvenv-3.5 venv
  41. #- 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
  42. #- make -j 2