Skip to content

Commit 5d90456

Browse files
author
Clement Champetier
committed
Travis: launch sam tests only with python2.7
* Waiting for PR tuttleofx#524 to switch to python3.4. * Currently there is an error with python3.2: "sudo pip3 install clint argcomplete /usr/local/lib/python3.2/dist-packages/pip-8.1.0-py3.2.egg/pip/_vendor/pkg_resources/__init__.py:87: UserWarning: Support for Python 3.0-3.2 has been dropped. Future versions will fail here.".
1 parent 0a1d25a commit 5d90456

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

tools/travis/install_dependencies.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
1111
if [[ ${PYTHON_VERSION} == "2.7" ]]; then
1212
pip install --user clint argcomplete
1313
elif [[ ${PYTHON_VERSION} == "3.2" ]]; then
14-
pip3 install --user clint argcomplete
14+
# easy_install3 pip --prefix=$HOME/local
15+
# pip3 install --user clint argcomplete
1516
fi
1617

1718
# Use TRAVIS_JOB_ID to detect that we are in travis.

tools/travis/launch_tests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ cd ${TUTTLEOFX_BUILD}
2929
make run_tests
3030

3131
# sam tests
32-
${TRAVIS_BUILD_DIR}/applications/test/samCommands.sh
32+
if [[ ${PYTHON_VERSION} == "2.7" ]]; then
33+
${TRAVIS_BUILD_DIR}/applications/test/samCommands.sh
34+
fi

0 commit comments

Comments
 (0)