forked from taers232c/GAMADV-XTD3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
158 lines (150 loc) · 4.65 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
if: tag IS blank
env:
global:
- BUILD_PYTHON_VERSION=3.8.0
- BUILD_OPENSSL_VERSION=1.1.1d
- PATCHELF_VERSION=0.9
- PYINSTALLER_VERSION=3.5
cache:
directories:
- $HOME/.cache/pip
- $HOME/python
- $HOME/ssl
matrix:
fast_finish: true
allow_failures:
- arch: arm64
include:
- os: linux
name: "Linux 64-bit Bionic"
dist: bionic
language: bash
env:
- GAMOS=linux
- PLATFORM=x86_64
- VMTYPE=build
- os: linux
dist: bionic
arch: arm64
name: "Linux ARM64 Bionic"
language: bash
filter_secrets: false
addons:
apt:
packages:
- ruby
env:
- GAMOS=linux
- PLATFORM=arm64
- VMTYPE=build
- os: linux
name: "Linux 64-bit Xenial"
dist: xenial
language: bash
env:
- GAMOS=linux
- PLATFORM=x86_64
- VMTYPE=build
- os: linux
name: "Linux 64-bit Trusty"
dist: trusty
language: bash
env:
- GAMOS=linux
- PLATFORM=x86_64
- VMTYPE=build
- os: linux
name: "Linux 64-bit Precise"
dist: precise
language: bash
env:
- GAMOS=linux
- PLATFORM=x86_64
- VMTYPE=build
- os: osx
name: "MacOS 10.10"
language: generic
osx_image: xcode6.4
env:
- GAMOS=macos
- PLATFORM=x86_64
- VMTYPE=build
- os: osx
name: "MacOS 10.11"
language: generic
osx_image: xcode8
env:
- GAMOS=macos
- PLATFORM=x86_64
- VMTYPE=build
- os: osx
name: "MacOS 10.12"
language: generic
osx_image: xcode9.2
env:
- GAMOS=macos
- PLATFORM=x86_64
- VMTYPE=build
- os: osx
name: "MacOS 10.13"
language: generic
osx_image: xcode10.1
env:
- GAMOS=macos
- PLATFORM=x86_64
- VMTYPE=build
- os: osx
name: "MacOS 10.14"
language: generic
osx_image: xcode11.1
env:
- GAMOS=macos
- PLATFORM=x86_64
- VMTYPE=build
- os: windows
name: "Windows 64-bit"
language: shell
filter_secrets: false
env:
- GAMOS=windows
- PLATFORM=x86_64
- VMTYPE=build
- os: windows
name: "Windows 32-bit"
language: shell
filter_secrets: false
env:
- GAMOS=windows
- PLATFORM=x86
- VMTYPE=build
before_cache:
- echo "this is before cache"
before_install:
- source src/travis/$TRAVIS_OS_NAME-$PLATFORM-before-install.sh
install:
- source src/travis/$TRAVIS_OS_NAME-$PLATFORM-install.sh
script:
- $gam version extended
- $gam version | grep travis # travis should be part of the path (not /tmp or such)
# determine which Python version GAM is built with and ensure it's at least build version from above.
- if [ "$VMTYPE" == "build" ]; then vline=$($gam version | grep "Python "); python_line=($vline); this_python=${python_line[1]}; $python tools/a_atleast_b.py $this_python $BUILD_PYTHON_VERSION; fi
# determine which OpenSSL version GAM is built with and ensure it's at least build version from above.
- if [ "$VMTYPE" == "build" ]; then vline=$($gam version extended | grep "OpenSSL "); openssl_line=($vline); this_openssl=${openssl_line[1]}; $python tools/a_atleast_b.py $this_openssl $BUILD_OPENSSL_VERSION; fi
- if [ "$VMTYPE" == "build" ]; then $gam version extended | grep TLSv1\.[23]; fi # Builds should default TLS 1.2 or 1.3 to Google
- if [ "$VMTYPE" == "build" ]; then $gam config tls_min_version TLSv1_2 version extended location tls-v1-0.badssl.com:1010; [[ $? == 3 ]]; fi # expect fail since server doesn't support our TLS version
before_deploy:
- export TRAVIS_TAG="preview"
- unset LD_LIBRARY_PATH
deploy:
provider: releases
api_key:
secure: VIDkcckmXYm7SgeoJWwkFUjbv0uJqcR5nEwkrJpLngEu3Vj+raLE2R0DeJ5cJzPrVbGvskc8avcr8Z8Mn0dg3WFb6OoniurQLrTS022vV5wnVqQHeRktym5JdD63SW90VAjsTA9hA0PingL53/Cij+1orxojN+K3sK1NDuFgG6g+eBfZ0QOFy0+S6nx/8zBrrbi4muXdFZw1hI9+FN7K9/ingA2ANSZ2wFK4KUZwSDBT1lOQcYwPPvaajH52vuqeSx0VYW7+qh5e+ivgutr5C8jsW05CuaDLvs0zEUTRMVzl3qZajh78bulCu2GPakeW/ThfJ0h2g98x7hAENnNX1hhmKq/PcDwBYK7ZBP3mepPYj7mbhcHkJQ3itusiXQfoWVFa/ivs9KHeRQgbxAM39FA1ox/POUesLp2G2BuUvl77ZL/RRp6DZDdCR+dH7v222zYqkpFAY05k25ZzieJkpEsWSfSrOlKXjNssEn/GMjyQqpQcVIFCvGoA9ZyKqCLLixcEzyW1arp2M76ujwxEI5muaZ6foQIcgfWWqWwYryy2boximmRLcff86NzZQD1OS7XP8H59kTL1zWCqBgDdvfthGKp0YY4O44pr7CTw+GeQT0MafBkBriHHlUU4NcorrAghQPwoEfT9QvMwNJ9bOTU8LiWgFsPrsMcPmHxaI84=
file_glob: true
overwrite: true
file: gamadv-xtd3-$GAMVERSION-*
skip_cleanup: true
draft: true
all_branches: true
on:
repo: taers232c/GAMADV-XTD3
condition: $VMTYPE = build