Skip to content
Snippets Groups Projects
Verified Commit 3501ff28 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

travis: set Python when building

parent b3fbfc0f
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,6 @@ env:
- CTEST_PARALLEL_LEVEL=4
- CTEST_OUTPUT_ON_FAILURE=1
- CXX_FLAGS_DEBUG="-O1"
- BUILD_PYTHON_INTERFACE=ON
- MAKEFLAGS="-j2"
cache:
......@@ -79,11 +78,13 @@ before_install:
script:
# Create build directory
- which python
- which python2
- mkdir build
- cd build
# Configure
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_FLAGS=-w -DCMAKE_CXX_FLAGS_DEBUG=${CXX_FLAGS_DEBUG} -DBUILD_PYTHON_INTERFACE=${BUILD_PYTHON_INTERFACE} ..
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_FLAGS=-w -DCMAKE_CXX_FLAGS_DEBUG=${CXX_FLAGS_DEBUG} -DPYTHON_EXECUTABLE=$(which python2) ..
# Build
- make
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment