forked from vegastrike/Vega-Strike-Engine-Source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
106 lines (98 loc) · 2.55 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
language: cpp
os:
- linux
# When updating be sure to add a section
# to the matrix to cover the distro
dist: bionic
compiler:
- gcc
- clang
env:
- {}
- FLAGS='-DUSE_PYTHON_3=ON'
jobs:
include:
- os: linux
dist: xenial
compiler: gcc
name: "Ubuntu 16.04 LTS - GCC"
- os: linux
dist: xenial
compiler: clang
name: "Ubuntu 16.04 LTS - Clang"
- os: linux
dist: xenial
compiler: clang
name: "Ubuntu 16.04 LTS - Py3"
env: FLAGS='-DUSE_PYTHON_3=ON'
- 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'
allow_failures:
- os: osx
- dist: xenial
env: FLAGS='-DUSE_PYTHON_3=ON'
fast_finish: true
addons:
apt:
packages:
- python-dev
- libgl1-mesa-glx
- freeglut3-dev
- libopenal-dev
- libsdl-gfx1.2-dev
- libvorbis-dev
- libjpeg-dev
- libpng-dev
- libgtk-3-dev
- libboost-python-dev
- libboost-log-dev
homebrew:
update: true
packages:
- mesa
- openal-soft
- sdl
- libvorbis
- jpeg
- libpng
- gtk+3
- gtkglext
- boost-python
script:
- ./sh/vsbuild.sh $FLAGS
# CI/CD hookups
# See https://docs.travis-ci.com/user/deployment/releases/
# for what to do for `before_deploy` and `deploy` sections
#before_deploy:
# - pull the submodule here
# - ./sh/vspackage.sh
# - export TRAVIS_TAG="composite tag name here"
# - git tag ${TRAVIS_TAG}
#deploy:
# # GitHub Releases
# provider: releases
# api_key:
# secure: "Encrypted GitHub Auth Key" <-- put this in the secrets
# file:
# # Upload files in the `packages` directory
# - packages/*
# # Ensure the build doesn't get cleaned up so the files are avialable
# # for the release build
# skip_clean: true
# # release is a draft so it can be edited, updated, etc.
# draft: true
# # GitHub Releases requires a tag; this guarnatees a tag is set
# on:
# tags: true
notifications:
webhooks:
if: repo = vegastrike/Vega-Strike-Engine-Source
urls:
- https://webhooks.gitter.im/e/1361517953461007f39a # community room
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always