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

Make travis-ci build the python api

parent 373ca593
......@@ -29,6 +29,20 @@ matrix:
- PATH=$HOME/bin:$PATH
- VARIANT=examples
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:
directories:
......
......@@ -15,4 +15,7 @@ if [ "$VARIANT" = "examples" ]; then
../cmake/bin/cmake --build . -- -j 2
fi
cd ..
\ No newline at end of file
if [ "$VARIANT" = "python-api" ]; then
../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