forked from Warzone2100/warzone2100
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
84 lines (81 loc) · 3.51 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
branches:
except:
- /^l10n_.*$/
matrix:
include:
# Build for macOS (CMake)
- name: "macOS (CMake) [Xcode 8.3, macOS 10.12 SDK]"
language: objective-c
os: osx
osx_image: xcode8.3
env:
- MACOSX_DEPLOYMENT_TARGET=10.10
before_install:
#- brew update
#- brew upgrade cmake
- brew install gettext
# NOTE: Specify an explicit Asciidoctor version to help ensure reproducible builds
- gem install asciidoctor -v 2.0.12 --no-document
# Try to workaround issues with brew downloading gcc
- brew fetch --retry gcc@7
# gcc6+ is currently required to bootstrap vcpkg on macOS
- brew install gcc@7 || brew link --overwrite gcc@7
- bundle install --gemfile="macosx/BuildBot/Gemfile"
- cmake --version
script:
- source .ci/travis/export_build_output_desc.sh
- macosx/BuildBot/travis_cmake_build.sh "${WZ_BUILD_DESC_PREFIX}-" "tmp/wz_upload"
# do not deploy
# Build for macOS (CMake)
- name: "macOS (CMake) [Xcode 9.4, macOS 10.13 SDK]"
language: objective-c
os: osx
osx_image: xcode9.4
env:
- MACOSX_DEPLOYMENT_TARGET=10.10
before_install:
- brew update
- if (brew outdated | grep cmake > /dev/null); then echo "upgrading CMake"; brew upgrade cmake; fi
- brew install gettext
# NOTE: Specify an explicit Asciidoctor version to help ensure reproducible builds
- gem install asciidoctor -v 2.0.12 --no-document
# gcc6+ is currently required to bootstrap vcpkg on macOS
- brew install gcc || brew link --overwrite gcc
- bundle install --gemfile="macosx/BuildBot/Gemfile"
- cmake --version
script:
- source .ci/travis/export_build_output_desc.sh
- macosx/BuildBot/travis_cmake_build.sh "${WZ_BUILD_DESC_PREFIX}-" "tmp/wz_upload"
# do not deploy
# # Build for macOS (CMake)
# - name: "macOS (CMake) [Xcode 10.3, macOS 10.14 SDK]"
# language: objective-c
# os: osx
# osx_image: xcode10.3
# env:
# - MACOSX_DEPLOYMENT_TARGET=10.10
# before_install:
# - brew update
# - if (brew outdated | grep cmake > /dev/null); then echo "upgrading CMake"; brew upgrade cmake; fi
# - brew install gettext
# # NOTE: Specify an explicit Asciidoctor version to help ensure reproducible builds
# - gem install asciidoctor -v 2.0.12 --no-document
# # gcc6+ is currently required to bootstrap vcpkg on macOS
# - brew install gcc || brew link --overwrite gcc
# - bundle install --gemfile="macosx/BuildBot/Gemfile"
# - cmake --version
# script:
# - source .ci/travis/export_build_output_desc.sh
# - macosx/BuildBot/travis_cmake_build.sh "${WZ_BUILD_DESC_PREFIX}-" "tmp/wz_upload"
# # do not deploy
# The channel name "chat.freenode.net#warzone2100-dev" is encrypted against Warzone2100/warzone2100 to prevent IRC spam of forks
notifications:
irc:
channels:
- secure: AvYOScfrjmtSqC6+qvVe3nxCjonN07eNp6ebzT3YdBo9e0JH4/elxSJVRC96E8ViSGia/6m8rBWMSEoJhDkykyUSVCn/gHr2FRtCNJz+iJ7ZEgzx90++q5XxtJM4R49e5HDF5dyoImiuwREXXhhqDX1oKCqFRgI4M17XfsYD+NM=
on_success: always # default: always
on_failure: always # default: always
use_notice: true
skip_join: true
template:
- "[travis-ci] \x0313%{repository_slug}\x03/\x036%{branch}\x03 \x0314%{commit}\x03 \x0315%{author}\x03: Build #%{build_number}: \x031%{message}\x03 Build details: %{build_url}"