aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 6ec5c3f44ce8c0ddd222ee23250839c91e0a1644 (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 echo 'yes' | sudo add-apt-repository ppa:kalakris/cmake
  13. sudo apt-get update -qq
  14. sudo apt-get install -qq cmake python3 valgrind
  15. elif [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ];
  16. brew update
  17. brew outdated python3 || brew upgrade python3
  18. brew outdated valgrind || brew upgrade valgrind
  19. fi
  20. script:
  21. - make testtarball
  22. - PROG=`ls cmark-*.*/build/src/cmark` make leakcheck