forked from taers232c/GAMADV-XTD3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
129 lines (122 loc) · 4.3 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
env:
global:
- BUILD_PYTHON_VERSION=3.9.5
- MIN_PYTHON_VERSION=3.9.5
- BUILD_OPENSSL_VERSION=1.1.1k
- MIN_OPENSSL_VERSION=1.1.1k
- PATCHELF_VERSION=0.12
- PYINSTALLER_COMMIT=ae28d2ce57e7f12faf01e80d26e064dbfa903e40
cache:
directories:
- $HOME/.cache/pip
- $HOME/python
- $HOME/ssl
jobs:
fast_finish: true
include:
- os: linux
name: "Linux 64-bit Focal"
dist: focal
language: shell
env:
- DIST_UPGRADE=true
- os: linux
name: "Linux 64-bit Bionic"
dist: bionic
language: shell
env:
- DIST_UPGRADE=true
- os: linux
name: "Linux 64-bit Xenial"
dist: xenial
language: shell
env:
- DIST_UPGRADE=false
- os: linux
name: "Linux 64-bit Trusty"
dist: trusty
language: shell
env:
- DIST_UPGRADE=true
- os: linux
name: "Linux 64-bit Precise"
dist: precise
language: shell
env:
- DIST_UPGRADE=false
- PATCHELF_VERSION=0.9
- os: linux
name: "Linux ARM64 Focal"
dist: focal
arch: arm64
language: shell
env:
- DIST_UPGRADE=false
filter_secrets: false
- os: linux
name: "Linux ARM64 Bionic"
dist: bionic
arch: arm64
language: shell
env:
- DIST_UPGRADE=false
filter_secrets: false
- os: linux
name: "Linux ARM64 Xenial"
dist: xenial
arch: arm64
language: shell
env:
- DIST_UPGRADE=true
filter_secrets: false
- os: osx
name: "MacOS"
language: generic
osx_image: xcode12.4
- os: windows
name: "Windows 64-bit"
language: shell
- os: windows
name: "Windows 32-bit"
language: shell
before_install:
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
export GAMOS="macos";
else
export GAMOS="${TRAVIS_OS_NAME}";
fi
- export SCRIPT_OS_NAME="${GAMOS}";
- if [ "${TRAVIS_JOB_NAME}" == "Windows 32-bit" ]; then
export PLATFORM="x86";
elif [ "${TRAVIS_CPU_ARCH}" == "amd64" ]; then
export PLATFORM="x86_64";
else
export PLATFORM="${TRAVIS_CPU_ARCH}";
fi
- source src/travis/${SCRIPT_OS_NAME}-before-install.sh
install:
- source src/travis/${SCRIPT_OS_NAME}-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 [[ "$TRAVIS_JOB_NAME" != *"Testing" ]]; then vline=$($gam version | grep "Python "); python_line=($vline); this_python=${python_line[1]}; $python tools/a_atleast_b.py $this_python $MIN_PYTHON_VERSION; fi
# determine which OpenSSL version GAM is built with and ensure it's at least build version from above.
- if [[ "$TRAVIS_JOB_NAME" != *"Testing" ]]; then vline=$($gam version extended | grep "OpenSSL "); openssl_line=($vline); this_openssl=${openssl_line[1]}; $python tools/a_atleast_b.py $this_openssl $MIN_OPENSSL_VERSION; fi
- if [[ "$TRAVIS_JOB_NAME" != *"Testing" ]]; then $gam version extended | grep TLSv1\.[23]; fi # Builds should default TLS 1.2 or 1.3 to Google
- if [[ "$TRAVIS_JOB_NAME" != *"Testing" ]]; 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
on:
repo: taers232c/GAMADV-XTD3
condition: $TRAVIS_JOB_NAME != *"Testing"