File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -16,19 +16,18 @@ git clone https://github.com/tuttleofx/TuttleOFX-data.git
1616
1717# nosetests
1818ln -s ${TRAVIS_BUILD_DIR} /TuttleOFX-data ${TRAVIS_BUILD_DIR} /libraries/tuttle/pyTest/TuttleOFX-data
19- if [[ ${PYTHON_VERSION} == " 2.7" ]]; then
20- nosetests ${TRAVIS_BUILD_DIR} /libraries/tuttle/pyTest -v
21- elif [[ ${PYTHON_VERSION} == " 3.4" ]]; then
22- nosetests3 ${TRAVIS_BUILD_DIR} /libraries/tuttle/pyTest -v
19+ export NOSETESTS_BIN=nosetests
20+ if [[ ${PYTHON_VERSION} == 3.* ]]; then
21+ export NOSETESTS_BIN=nosetests3
2322fi
24-
23+ ${NOSETESTS_BIN} ${TRAVIS_BUILD_DIR} /libraries/tuttle/pyTest -v
2524
2625# boost unit tests
2726ln -s ${TRAVIS_BUILD_DIR} /TuttleOFX-data ${TRAVIS_BUILD_DIR} /testBin/TuttleOFX-data
2827cd ${TUTTLEOFX_BUILD}
2928make run_tests
3029
3130# sam tests
32- if [[ ${PYTHON_VERSION} == " 2.7 " ]]; then
31+ if [[ ${PYTHON_VERSION} == 2. * ]]; then
3332 ${TRAVIS_BUILD_DIR} /applications/test/samCommands.sh
3433fi
You can’t perform that action at this time.
0 commit comments