.travis.yml 990 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Travis-CI configuration file for SuperTuxKart Editor
  2. #
  3. # Configuration manual:
  4. # http://docs.travis-ci.com/user/customizing-the-build/
  5. # http://docs.travis-ci.com/user/languages/cpp/
  6. language: cpp
  7. sudo: false
  8. compiler:
  9. - gcc
  10. - clang
  11. os:
  12. - linux
  13. # - osx
  14. matrix:
  15. fast_finish: true
  16. env:
  17. matrix:
  18. - BUILD_TYPE="Debug"
  19. - BUILD_TYPE="Release"
  20. before_script:
  21. - export THREADS=$((`nproc` + 1))
  22. - echo "THREADS = $THREADS"
  23. - free -mt
  24. script:
  25. - mkdir "build"
  26. - cd "build"
  27. - cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE
  28. - make VERBOSE=1 -j $THREADS
  29. addons:
  30. apt:
  31. packages:
  32. - build-essential
  33. - libxxf86vm-dev
  34. - libphysfs1
  35. - libphysfs-dev
  36. - zlib1g
  37. - zlib1g-dev
  38. notifications:
  39. irc:
  40. channels:
  41. - "irc.freenode.org#supertuxkart"
  42. skip_join: false
  43. use_notice: true
  44. template:
  45. - "[%{repository}#%{branch} @%{commit}] %{author}): %{message}"
  46. - "Diff: %{compare_url}"
  47. - "Build: %{build_url}"