Skip to content

Commit a6762c6

Browse files
committed
travis: move test invocation to script
Also restore set +e at end of the script. cf. travis-ci/travis-ci#6307 Otherwise OSX builds fail at the end with: /Users/travis/.travis/job_stages: line 166: shell_session_update: command not found
1 parent a17c31f commit a6762c6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,4 @@ install:
108108
- pip2 install --user --upgrade -r python/requirements.txt
109109

110110
script:
111-
- getconf _NPROCESSORS_ONLN
112-
- ${MAKE} -j$(getconf _NPROCESSORS_ONLN) check VERBOSE=1 V=${ENV_VERBOSE}
113-
- ${MAKE} -C python test
111+
- ./build/runtests.sh

build/runtests.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
set -e
3+
getconf _NPROCESSORS_ONLN
4+
${MAKE} -j$(getconf _NPROCESSORS_ONLN) check VERBOSE=1 V=${ENV_VERBOSE}
5+
${MAKE} -C python test
6+
set +e

0 commit comments

Comments
 (0)