forked from JACoders/OpenJK
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
49 lines (40 loc) · 888 Bytes
/
.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
language: cpp
sudo: required
dist: bionic
addons:
homebrew:
update: true
packages:
- libpng
- sdl2
install:
- if [[ "${TRAVIS_OS_NAME}" != "osx" ]]; then ./scripts/travis/install.sh "${host:-native}" $opts; fi
script: ./scripts/travis/build.sh "${host:-native}" "${flavour:-Release}" $opts
matrix:
include:
# Linux x64 Release
- os: linux
compiler: gcc
# macOS
- os: osx
osx_image: xcode9.4
compiler: clang
# Linux x64 Debug
- os: linux
compiler: gcc
env: flavour=Debug
# Linux i686 gcc
- os: linux
compiler: gcc
env: host=i686-linux-gnu
# Linux x64 mingw32
- os: linux
compiler: gcc
env: host=x86_64-w64-mingw32
# Linux i686 mingw32
- os: linux
compiler: gcc
env: host=i686-w64-mingw32
# Linux clang
- os: linux
compiler: clang