Skip to content
Snippets Groups Projects
Commit 4bd12cea authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

clean up travis stuff

there are too many travis files. I moved all of them
on a .travis directory (except for .travis.yml that should
be in root directory)
parent 426376d4
No related branches found
No related tags found
No related merge requests found
......@@ -26,30 +26,30 @@ matrix:
install:
# build the manual, only if log contains string [makedoc]
- export PLUMED_NUM_THREADS=2
- ./.travis.check.log makedoc || MAKEDOC=no
- ./.travis.check.log valgrind || VALGRIND=no
- ./.travis.check.log almost || ALMOST=no
- ./.travis/check.log makedoc || MAKEDOC=no
- ./.travis/check.log valgrind || VALGRIND=no
- ./.travis/check.log almost || ALMOST=no
# install some package - these are fast, we install them anyway
- sudo apt-get update -qq
- sudo apt-get install -y libmatheval-dev
- ./.travis.install.xdrfile
- ./.travis/install.xdrfile
- LIBRARY_PATH="$LIBRARY_PATH:/usr/local/lib"
- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
# cppcheck:
- test "$CPPCHECK" == yes && ./.travis.install.cppcheck 1.69 || true
- test "$CPPCHECK" == yes && ./.travis/install.cppcheck 1.69 || true
# installation of these packages takes a lot of time
# we do it only when needed
- test "$PLUMED_CXX" == "mpic++" && sudo apt-get install -y libopenmpi1.5-dev openmpi1.5-bin || true
- test "$MAKEDOC" == yes && sudo apt-get install -y graphviz || true
# doxygen from its repository (apt-get gets an old version)
# - test "$MAKEDOC" == yes && ./.travis.install.doxygen || true
# - test "$MAKEDOC" == yes && ./.travis/install.doxygen || true
# it seems that here we can get precompiled doxygen and latex
- test "$MAKEDOC" == yes && sudo apt-add-repository -y ppa:libreoffice/ppa || true
- test "$MAKEDOC" == yes && sudo apt-get update -qq || true
- test "$MAKEDOC" == yes && sudo apt-get install -y doxygen doxygen-latex || true
- test "$VALGRIND" == yes && sudo apt-get install -y valgrind || true
- test "$LAPACK" == yes && sudo apt-get install libatlas-base-dev || true
- test "$ALMOST" == yes && ./.travis.install.almost || true
- test "$ALMOST" == yes && ./.travis/install.almost || true
- test "$ALMOST" == yes && ENALMOST="--enable-almost" || true
- test "$ALMOST" == yes && PLUMED_CPPFLAGS="$INCLUDE -I/usr/local/include -I/usr/local/include/almost" || true
# moreover, we hardcode path to dynamic library, required for xdrfile to link properly
......@@ -71,4 +71,4 @@ script:
- make -C regtest checkfail
- if test "$CPPCHECK" == yes ; then make cppcheck ; fi
after_success:
- test "$MAKEDOC" == yes && ./.travis.pushdoc
- test "$MAKEDOC" == yes && ./.travis/pushdoc
File moved
File moved
File moved
File moved
File moved
File moved
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