Skip to content

Commit 034a085

Browse files
author
Clement Champetier
committed
Travis: launch python nosetests after build
1 parent aba8560 commit 034a085

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ before_script:
1212
- env | sort
1313
- date -u
1414
- uname -a
15-
15+
1616
- chmod +x tools/travis.linux.install.deps.sh
1717
- chmod +x tools/travis.osx.install.deps.sh
1818

@@ -25,3 +25,7 @@ script:
2525
- cmake ..
2626
- make
2727

28+
after_script:
29+
- cd ..
30+
- chmod +x tools/travis.python.nosetests.sh
31+
- ./tools/travis.python.nosetests.sh

tools/travis.python.nosetests.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
cd test/pyTest
4+
5+
if [ -x "bin/nosetests" ]; then
6+
NOSE="bin/nosetests"
7+
else
8+
NOSE="nosetests"
9+
fi
10+
11+
$NOSE

0 commit comments

Comments
 (0)