aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: e17916015118630965a9f337934e1ed09fd75118 (plain)
  1. os:
  2.  - linux
  3. - osx
  4. language: c
  5. compiler:
  6. - clang
  7. - gcc
  8. before_install:
  9. # we need a more recent cmake than travis/linux provides (at least 2.8.9):
  10. - |
  11. if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]
  12. then
  13. echo 'yes' | sudo add-apt-repository ppa:kalakris/cmake
  14. sudo apt-get update -qq
  15. sudo apt-get install -qq cmake python3 valgrind
  16. elif [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ]
  17. then
  18. brew update
  19. brew install python3
  20. brew install valgrind
  21. fi
  22. script:
  23. - make testtarball
  24. - PROG=`ls cmark-*.*/build/src/cmark` make leakcheck