summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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