summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-10-24 01:29:53 -0700
committerGitHub <noreply@github.com>2017-10-24 01:29:53 -0700
commit87d332dcdbffe8ff60d99f74b1ad241c0967b055 (patch)
tree5237dbe65d2354c16cc71b0b5d13b1eb52b75d4e /.travis.yml
parent1aa00ff383c43335e4a5044274617dbf59bc839e (diff)
downloadcpython-git-87d332dcdbffe8ff60d99f74b1ad241c0967b055.tar.gz
bpo-31810: Add smelly.py to check exported symbols (#4057)
* Add Tools/scripts/smelly.py: script checking if all symbols exported by libpython start with "Py" or "_Py". * Modify "make smelly" to run smelly.py: the command now fails with a non-zero exit code if libpython leaks a "smelly" symbol. * Travis CI now runs "make smelly"
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 185846029c..c207bd72da 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -91,6 +91,8 @@ script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./python Tools/scripts/patchcheck.py --travis $TRAVIS_PULL_REQUEST; fi
# `-r -w` implicitly provided through `make buildbottest`.
- make buildbottest TESTOPTS="-j4 -uall,-cpu"
+ # Check that all symbols exported by libpython start with "Py" or "_Py"
+ - make smelly
notifications:
email: false