From 2e9b8ef8601c0bf61ca524a556cbcb21251043ca Mon Sep 17 00:00:00 2001 From: Giovanni Bussi Date: Fri, 24 Jan 2020 15:23:33 +0100 Subject: [PATCH] Remove python test on homebrew --- .travis.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7a81d7a7f3..f07f6214f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -155,12 +155,15 @@ install: # install lcov - if test "$MAKECOVERAGE" == yes ; then ./.travis/install.lcov v1.14 ; fi # install numpy and cython for python interface -# only for linux and homebrew (no macports) +# only for linux +# with homebrew I currently have problem in installing python so I leave it out - if test "$PLUMED_CXX" ; then - sudo pip install --upgrade pip ; - sudo pip install numpy ; - sudo pip install Cython ; - sudo pip install nose ; + if test "$TRAVIS_OS_NAME" == "linux" ; then + pyenv global 3.6; + pip install --user Cython ; + pip install --user numpy ; + pip install --user nose ; + fi ; fi # 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 @@ -265,7 +268,9 @@ script: done fi - if test "$PLUMED_CXX" ; then - nosetests -v -w python ; + if test "$TRAVIS_OS_NAME" == "linux" ; then + nosetests -v -w python ; + fi ; fi # CPPCHECK: