Skip to content

Commit c39e16f

Browse files
committed
travis: try to fix python3 in UWLCM tests
1 parent de2e55b commit c39e16f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.travis_scripts/UWLCM.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ sudo make install
1212
cd ../..
1313

1414
# making Python 2 back the default if needed - TODO: support Python3 in libcloudph++
15-
if [[ $PY3DEB != '' ]]; then sudo update-alternatives --remove python /usr/bin/python3; fi
16-
if [[ $PY3DEB != '' ]]; then sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 10; fi
15+
# if [[ $PY3DEB != '' ]]; then sudo update-alternatives --remove python /usr/bin/python3; fi
16+
# if [[ $PY3DEB != '' ]]; then sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 10; fi
1717

1818
# libcloudph++'s dependencies
1919
#if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo $apt_get_install libboost-python1.55-dev python-numpy; fi
20-
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo $apt_get_install python-numpy; fi
20+
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo $apt_get_install python3-numpy; fi
21+
2122
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew install boost-python; fi
2223

2324
# odeint

0 commit comments

Comments
 (0)