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

Using the tests from travis

parent c9704733
No related branches found
No related tags found
No related merge requests found
...@@ -99,6 +99,7 @@ install: ...@@ -99,6 +99,7 @@ install:
- export INCLUDE="$HOME/opt/include:$HOME/opt/arrayfire/include:$INCLUDE" - export INCLUDE="$HOME/opt/include:$HOME/opt/arrayfire/include:$INCLUDE"
- export LIBRARY_PATH="$HOME/opt/lib:$HOME/opt/arrayfire/lib:$LIBRARY_PATH" - export LIBRARY_PATH="$HOME/opt/lib:$HOME/opt/arrayfire/lib:$LIBRARY_PATH"
- export LD_LIBRARY_PATH="$HOME/opt/lib:$HOME/opt/arrayfire/lib:$LD_LIBRARY_PATH" - export LD_LIBRARY_PATH="$HOME/opt/lib:$HOME/opt/arrayfire/lib:$LD_LIBRARY_PATH"
- export PYTHONPATH="$HOME/opt/lib/plumed/python:$PYTHONPATH"
# Setting the TMPDIR in this way allegedly prevents problems with the compilation of # Setting the TMPDIR in this way allegedly prevents problems with the compilation of
# PLUMED + Python on macos # PLUMED + Python on macos
- export TMPDIR="/tmp" - export TMPDIR="/tmp"
...@@ -145,6 +146,7 @@ install: ...@@ -145,6 +146,7 @@ install:
sudo pip install --upgrade pip ; sudo pip install --upgrade pip ;
sudo pip install numpy ; sudo pip install numpy ;
sudo pip install Cython ; sudo pip install Cython ;
sudo pip install nose ;
fi fi
# then replace doxygen with the desided version # then replace doxygen with the desided version
# I use 1.8.10 instead of 1.8.11 since it looks like 1.8.11 have troubles with # I use 1.8.10 instead of 1.8.11 since it looks like 1.8.11 have troubles with
...@@ -225,10 +227,12 @@ script: ...@@ -225,10 +227,12 @@ script:
- if test -n "$PLUMED_MACPORTS" ; then - if test -n "$PLUMED_MACPORTS" ; then
sudo port -N -d test $PLUMED_MACPORTS ; sudo port -N -d test $PLUMED_MACPORTS ;
for p in $PLUMED_PYTHON ; do for p in $PLUMED_PYTHON ; do
sudo port install py${p//./}-nose ; sudo port test py${p//./}-plumed ;
nosetests-$p -v -w python ;
done done
fi fi
- if test "$PLUMED_CXX" ; then
nosetests -v -w python ;
fi
# CPPCHECK: # CPPCHECK:
# this is required so as to have all the include files inplace: # this is required so as to have all the include files inplace:
......
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