summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-12 20:17:15 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-12 20:17:15 -0800
commit4f597863da9a06972124e76bdfa7cc45d8aa7b84 (patch)
treeec0eb4b77448d5907b22b2ede1d4ed1815b86470 /.travis.yml
parentf6de5eb2e20454b0bff875d6e78d76bf5c93a86d (diff)
.travis.yml: don't run valgrind on osx.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
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