From 0be2adf2975eea7e3d7fb10b5146fff71a4e672e Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Thu, 10 Aug 2017 22:48:39 -0400 Subject: [PATCH] Don't build python bindings in debug mode on Travis. It takes too long. --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 19da627a18..6380f10e92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,8 @@ dist: xenial language: cpp env: - - CMAKE_OPTIONS="-DDEBUG=OFF -DPROFILE=OFF" - - CMAKE_OPTIONS="-DDEBUG=ON -DPROFILE=OFF" + - CMAKE_OPTIONS="-DDEBUG=OFF -DPROFILE=OFF -DBUILD_PYTHON_BINDINGS=OFF" + - CMAKE_OPTIONS="-DDEBUG=ON -DPROFILE=OFF -DPYTHON=/usr/bin/python" before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test @@ -20,7 +20,7 @@ before_install: - sudo cp .travis/config.hpp /usr/include/armadillo_bits/config.hpp install: - - mkdir build && cd build && cmake $CMAKE_OPTIONS -DPYTHON=/usr/bin/python .. && make -j2 + - mkdir build && cd build && cmake $CMAKE_OPTIONS .. && make -j2 script: - CTEST_OUTPUT_ON_FAILURE=1 travis_wait 30 ctest -j2