.travis.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. # .travis.yml
  2. #
  3. # Copyright (C) 2020 Stephen G. Tuggy and other vsUTCS contributors
  4. #
  5. # This file is part of Vega Strike: Upon the Coldest Sea ("vsUTCS").
  6. #
  7. # vsUTCS is free software: you can redistribute it and/or modify
  8. # it under the terms of the GNU General Public License as published by
  9. # the Free Software Foundation, either version 2 of the License, or
  10. # (at your option) any later version.
  11. #
  12. # vsUTCS is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU General Public License
  18. # along with vsUTCS. If not, see <https://www.gnu.org/licenses/>.
  19. language: cpp
  20. os: linux
  21. services:
  22. - docker
  23. git:
  24. submodules: false
  25. dist: focal
  26. # When updating be sure to add a section
  27. # to the matrix to cover the distro
  28. jobs:
  29. include:
  30. # "One .deb to rule them all" -- the .deb package built on Debian 9
  31. # stretch should work on all the other .deb based distros as well.
  32. # - os: linux
  33. # name: "Ubuntu 20.04 focal"
  34. # env:
  35. # - FROM='ubuntu:focal'
  36. # - os: linux
  37. # name: "Ubuntu 18.04 bionic"
  38. # env:
  39. # - FROM='ubuntu:bionic'
  40. # - os: linux
  41. # name: "Ubuntu 16.04 xenial"
  42. # env:
  43. # - FROM='ubuntu:xenial'
  44. # - os: linux
  45. # name: "Debian 10 buster"
  46. # env:
  47. # - FROM='debian:buster'
  48. - os: linux
  49. name: "Debian 9 stretch"
  50. env:
  51. - FROM='debian:stretch'
  52. - os: linux
  53. name: "openSUSE Leap 15.2"
  54. env:
  55. - FROM='opensuse/leap'
  56. - os: linux
  57. name: "Fedora 32"
  58. env:
  59. - FROM='fedora:32'
  60. - os: linux
  61. name: "Fedora 31"
  62. env:
  63. - FROM='fedora:31'
  64. - os: linux
  65. name: "CentOS 8"
  66. env:
  67. - FROM='centos:8'
  68. # - os: osx
  69. # osx_image: xcode11.3
  70. # env:
  71. # - FLAGS='-DUSE_PYTHON_3=OFF -DBoost_NO_BOOST_CMAKE=ON'
  72. # - os: osx
  73. # osx_image: xcode11.3
  74. # env:
  75. # - FLAGS='-DUSE_PYTHON_3=ON'
  76. fast_finish: true
  77. script:
  78. - script/cibuild
  79. deploy:
  80. # Use DPL V2
  81. edge: true
  82. # GitHub Releases
  83. provider: releases
  84. token: $GITHUB_TOKEN
  85. file_glob: true
  86. file:
  87. # Upload files in the `packages` directory
  88. - ./packages/*
  89. # # release is a draft so it can be edited, updated, etc.
  90. # # Not needed as we'll do that manually when we'll begin the release.
  91. # draft: true
  92. # prerelease: true
  93. # # GitHub Releases requires a tag; this guarantees a tag is set
  94. on:
  95. tags: true
  96. repo: vegastrike/Assets-Production