From: Martin Quinson Date: Sat, 17 Oct 2015 19:56:17 +0000 (+0200) Subject: [travis] install lua to /opt so that cmake finds it X-Git-Tag: v3_13~1673 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8042103d4bbed1e73eb7c8c8c67a1752e8d09309?ds=sidebyside [travis] install lua to /opt so that cmake finds it --- diff --git a/.travis.yml b/.travis.yml index b5fabae4df..b4b552b920 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ compiler: # reference to non-static member function must be called # std::uninitialized_fill( buffer_, buffer_ + size, init_value ); # ^~~~ +# addons: apt: # Get recent versions of the compiler, even on Ubuntu Precise sources: @@ -32,9 +33,9 @@ before_install: - curl http://www.lua.org/ftp/lua-5.3.0.tar.gz | tar xz - cd lua-5.3.0 - if [ ${TRAVIS_OS_NAME} = 'linux' ] ; then make linux ; else make macosx ; fi - - make INSTALL_TOP=$TRAVIS_BUILD_DIR/LuaInstall install + - make INSTALL_TOP=/opt install - cd .. - - ls -lR $TRAVIS_BUILD_DIR/LuaInstall + - ls -lR /opt script: - cmake -Denable_documentation=OFF -Denable_coverage=OFF -Denable_java=ON -Denable_model-checking=OFF -Denable_lua=ON -Denable_compile_optimizations=ON -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=OFF -Denable_compile_warnings=ON . && make VERBOSE=1 && ctest --output-on-failure --timeout 100 branches: