.travis.yml 983 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. language: cpp
  2. dist: xenial
  3. matrix:
  4. include:
  5. - os: osx
  6. compiler: clang
  7. env: if CXXFLAGS="-fgnu-inline-asm -fasm-blocks"
  8. - os: linux
  9. compiler: gcc
  10. - os: linux
  11. compiler: clang
  12. addons:
  13. apt:
  14. packages:
  15. - build-essential
  16. - nasm
  17. - libogg-dev
  18. - libxft-dev
  19. - libx11-dev
  20. - libxxf86vm-dev
  21. - libopenal-dev
  22. - libfreetype6-dev
  23. - libxcursor-dev
  24. - libxinerama-dev
  25. - libxi-dev
  26. - libxrandr-dev
  27. - libxss-dev
  28. - libglu1-mesa-dev
  29. - libgtk-3-dev
  30. script:
  31. - mkdir -p My\ Projects/TestProject/buildFiles/travis/
  32. - cd My\ Projects/TestProject/buildFiles/travis/
  33. - cmake ../../../.. -DTORQUE_APP_NAME=TestProject -DCMAKE_BUILD_TYPE=Debug
  34. - make 2>/dev/null # Do the actual build, but ignore all the warnings
  35. - make # build again. This time all output is printed but the warnings that happened earlier do not happen again
  36. - make install
  37. - cd ../../game/
  38. - ls