Commit 6266b987 authored by Davis King's avatar Davis King

Make travis-ci build the python api

parent 373ca593
...@@ -29,6 +29,20 @@ matrix: ...@@ -29,6 +29,20 @@ matrix:
- PATH=$HOME/bin:$PATH - PATH=$HOME/bin:$PATH
- VARIANT=examples - VARIANT=examples
addons: *ao_gcc5 addons: *ao_gcc5
# build the python extension
- compiler: gcc
env:
- GCC_VER=5
- ADDRESS_MODEL=64
- BUILD_SYSTEM=cmake
- PATH=$HOME/bin:$PATH
- VARIANT=python-api
addons: &ao_gcc5
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libboost-python-dev
cache: cache:
directories: directories:
......
...@@ -15,4 +15,7 @@ if [ "$VARIANT" = "examples" ]; then ...@@ -15,4 +15,7 @@ if [ "$VARIANT" = "examples" ]; then
../cmake/bin/cmake --build . -- -j 2 ../cmake/bin/cmake --build . -- -j 2
fi fi
cd .. if [ "$VARIANT" = "python-api" ]; then
\ No newline at end of file ../cmake/bin/cmake ../tools/python -DCMAKE_BUILD_TYPE=Release
../cmake/bin/cmake --build . -- -j 2
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment