.travis.yml 930 B

12345678910111213141516171819202122232425262728293031323334
  1. language: cpp
  2. compiler: gcc
  3. dist: xenial
  4. sudo: required
  5. cache:
  6. directories:
  7. - $HOME/apt_mingw_cache
  8. - $HOME/.ccache
  9. - $HOME/pbuilder-bases
  10. matrix:
  11. include:
  12. - env: TYPE=style
  13. - os: linux
  14. - env: TARGET_OS=debian-sid TARGET_DEPLOY=True
  15. git:
  16. depth: false
  17. - env: TARGET_OS=debian-sid TARGET_ARCH=i386
  18. git:
  19. depth: false
  20. - compiler: clang
  21. env: TARGET_OS=debian-sid
  22. git:
  23. depth: false
  24. - os: osx
  25. osx_image: xcode10.3
  26. before_install:
  27. # appdmg doesn't work with old Node.js
  28. - if [ "$TRAVIS_OS_NAME" = osx ]; then nvm install 10; fi
  29. install: ${TRAVIS_BUILD_DIR}/.travis/install.sh
  30. script: ${TRAVIS_BUILD_DIR}/.travis/script.sh
  31. after_script: ${TRAVIS_BUILD_DIR}/.travis/after_script.sh
  32. before_deploy:
  33. - if [ "$TARGET_OS" != debian-sid ]; then make package; fi