Skip to content

Commit cde969d

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

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,22 @@ 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

1919
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./tools/travis.linux.install.deps.sh; fi
2020
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ./tools/travis.osx.install.deps.sh; fi
2121

22+
- pip install pep8 pip-tools coviolations_app coverage
23+
2224
script:
2325
- mkdir build
2426
- cd build
2527
- cmake ..
2628
- make
2729

30+
after_script:
31+
- cd ..
32+
- chmod +x tools/travis.python.nosetests.sh
33+
- ./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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy