diff --git a/.travis.yml b/.travis.yml index ebca46d659..54c7151e4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,12 @@ env: - CMAKE_OPTIONS="-DDEBUG=ON -DPROFILE=OFF -DBUILD_PYTHON_BINDINGS=OFF" before_install: + - ps -ef f | grep apt + - ps -ef f | grep dpkg - sudo systemctl stop apt-daily.service apt-daily.timer - sudo systemctl disable apt-daily.service apt-daily.timer + - ps -ef f | grep apt + - ps -ef f | grep dpkg - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update -qq - printenv @@ -26,6 +30,7 @@ install: - mkdir build && cd build && cmake $CMAKE_OPTIONS .. && make -j2 script: + - LD_LIBRARY_PATH=lib/ NO_BUILD=1 python src/mlpack/bindings/python/setup.py test - CTEST_OUTPUT_ON_FAILURE=1 travis_wait 30 ctest -j2 notifications: