Open Source Tomb Raider Engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. language: cpp
  2. compiler:
  3. - clang
  4. - gcc
  5. before_install:
  6. - if [ "$TRAVIS_OS_NAME" = "linux" ]; then cmake/travis_before_install_linux.sh; fi
  7. - if [ "$TRAVIS_OS_NAME" = "osx" ]; then cmake/travis_before_install_mac.sh; fi
  8. install:
  9. - if [ "$TRAVIS_OS_NAME" = "linux" ]; then cmake/travis_install_linux.sh; fi
  10. - if [ "$TRAVIS_OS_NAME" = "osx" ]; then cmake/travis_install_mac.sh; fi
  11. script:
  12. - if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then if [ "$TRAVIS_OS_NAME" = "linux" ]; then cmake/travis_script_linux.sh; fi; fi
  13. - if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then if [ "$TRAVIS_OS_NAME" = "osx" ]; then cmake/travis_script_mac.sh; fi; fi
  14. notifications:
  15. email:
  16. recipients:
  17. - xythobuz@xythobuz.de
  18. on_success: never
  19. on_failure: change
  20. irc:
  21. channels:
  22. - "chat.freenode.net#OpenRaider"
  23. template:
  24. - "%{repository}/%{branch} (%{commit} - %{author}): %{message}"
  25. os:
  26. - linux
  27. - osx
  28. env:
  29. global:
  30. # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
  31. # via the "travis encrypt" command using the project repo's public key
  32. - secure: "mZtmV3AtLWzr0NnUb6lCdRwv9Dj4AsI7NNzKFzHHr+bKavnXf8jBfDIhO9K2fBrx2h2QjDyd7BVWgIKQI8WVGpzbHTMBSrz3yPyY/X97HZMcgfClGsIqesoWldC5dIooPrfirv+/I3rQza0bvozNSXalRwMj1y1nV1lc5xO54TU="
  33. addons:
  34. coverity_scan:
  35. project:
  36. name: "xythobuz/OpenRaider"
  37. description: "Build submitted via Travis CI"
  38. notification_email: taucher.bodensee@googlemail.com
  39. build_command_prepend: "cmake .; make clean"
  40. build_command: "make -j 4"
  41. branch_pattern: coverity_scan