123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- # .travis.yml
- #
- # Copyright (C) 2020 Stephen G. Tuggy and other vsUTCS contributors
- #
- # This file is part of Vega Strike: Upon the Coldest Sea ("vsUTCS").
- #
- # vsUTCS is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 2 of the License, or
- # (at your option) any later version.
- #
- # vsUTCS is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with vsUTCS. If not, see <https://www.gnu.org/licenses/>.
- language: cpp
- os: linux
- services:
- - docker
- git:
- submodules: false
- dist: focal
- # When updating be sure to add a section
- # to the matrix to cover the distro
- jobs:
- include:
- # "One .deb to rule them all" -- the .deb package built on Debian 9
- # stretch should work on all the other .deb based distros as well.
- # - os: linux
- # name: "Ubuntu 20.04 focal"
- # env:
- # - FROM='ubuntu:focal'
- # - os: linux
- # name: "Ubuntu 18.04 bionic"
- # env:
- # - FROM='ubuntu:bionic'
- # - os: linux
- # name: "Ubuntu 16.04 xenial"
- # env:
- # - FROM='ubuntu:xenial'
- # - os: linux
- # name: "Debian 10 buster"
- # env:
- # - FROM='debian:buster'
- - os: linux
- name: "Debian 9 stretch"
- env:
- - FROM='debian:stretch'
- - os: linux
- name: "openSUSE Leap 15.2"
- env:
- - FROM='opensuse/leap'
- - os: linux
- name: "Fedora 32"
- env:
- - FROM='fedora:32'
- - os: linux
- name: "Fedora 31"
- env:
- - FROM='fedora:31'
- - os: linux
- name: "CentOS 8"
- env:
- - FROM='centos:8'
- # - os: osx
- # osx_image: xcode11.3
- # env:
- # - FLAGS='-DUSE_PYTHON_3=OFF -DBoost_NO_BOOST_CMAKE=ON'
- # - os: osx
- # osx_image: xcode11.3
- # env:
- # - FLAGS='-DUSE_PYTHON_3=ON'
- fast_finish: true
- script:
- - script/cibuild
- deploy:
- # Use DPL V2
- edge: true
- # GitHub Releases
- provider: releases
- token: $GITHUB_TOKEN
- file_glob: true
- file:
- # Upload files in the `packages` directory
- - ./packages/*
- # # release is a draft so it can be edited, updated, etc.
- # # Not needed as we'll do that manually when we'll begin the release.
- # draft: true
- # prerelease: true
- # # GitHub Releases requires a tag; this guarantees a tag is set
- on:
- tags: true
- repo: vegastrike/Assets-Production
|