diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-12 20:17:15 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-12 20:17:15 -0800 |
commit | 4f597863da9a06972124e76bdfa7cc45d8aa7b84 (patch) | |
tree | ec0eb4b77448d5907b22b2ede1d4ed1815b86470 /.travis.yml | |
parent | f6de5eb2e20454b0bff875d6e78d76bf5c93a86d (diff) |
.travis.yml: don't run valgrind on osx.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index d67dd57..fb2d83e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,12 +15,13 @@ before_install: sudo apt-get install -qq cmake python3 valgrind elif [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ] then - brew update # We test on OSX without python3, to make sure that works - # brew install python3 - brew install valgrind fi script: - make - make test - - PROG=`ls cmark-*.*/build/src/cmark` make leakcheck + - | + if [ $(TRAVIS_ON_NAME:-'linux'} = 'linux' ] + then + PROG=`ls cmark-*.*/build/src/cmark` make leakcheck + fi |