-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
179 lines (157 loc) · 8.33 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
matrix:
include:
############################# IOS BUILD #############################
- if: env(BUILD_IOS) = true
os: osx
language: objective-c
osx_image: xcode8.3
env:
global:
- JOBS=1
before_install:
- sh scripts/before-install-osx.sh
script:
- sh scripts/build-ios.sh
deploy:
- skip_cleanup: true
provider: s3
access_key_id: AKIAJMH545S5JKUIND7A
secret_access_key:
secure: Pd2BuDHdn1jxsfOdcfAl/ZIcCJRFT0cULG7eCaLdh0/mkaG9nbfc6+Nm3vk0S0evwHp2yPljzndia3MgepkeXfiYPjTvPvfDT6oKp2UZAUCS9SYWWxEkHyockRigDPEIJqGTg3uTBLQaxHaRSCz2SUL+QYInjo517yJrlVC5IjqhH95Zw7sgeYP2IYbKab5rY4BA2KfxDuAXDFMJPrXejT4rElnRipht1pCree/aA9cDxi48cN2VhZLicb/kI75PSNg3T7PTXfhOxhNpyCxN+wgJ0e6zFTZSW7XKYGVYeJvG1g8YSh/QCNrIx1tPcnyW59yMXNCGhqGoYRJu4Voa5ftbzI9TxlpaoXnyQ1MoKkPN3LV+DMtpXmTTraqw6bTlgrzKDTccQLwDE3g8GYNLNHpWUsSPvph5skaDOcowFrvv91OS5pvN7V0Yk0kDqMACB69gHC/b05Tb2dJlMRVmKfJUJ9HuaIdhA/a5oMzipsUnHkGYlIczHlZeqEimiLE0DGR4I6sjo+nnAVKAaGxfUJ+d/zfCjie7p8cezCeQksnVHMiaUakwIEe/b9G9Hw29xil7FU6ZLKaMCv31M2Bjdu8dumaAbeRw4gdnUhAUO1rqcPFMyJ4ldTMHJY/pJj7jAUF24vIehH/m98POBftYXhK5g2XhAELdqCBeJJjAog0=
bucket: waldojobs-dev
local-dir: cordova/platforms/ios/build
upload-dir: ios-build
acl: public_read
verbose: true
on:
branch: dev
condition: $TRAVIS_OS_NAME = osx
- skip_cleanup: true
provider: s3
access_key_id: AKIAJMH545S5JKUIND7A
secret_access_key:
secure: Pd2BuDHdn1jxsfOdcfAl/ZIcCJRFT0cULG7eCaLdh0/mkaG9nbfc6+Nm3vk0S0evwHp2yPljzndia3MgepkeXfiYPjTvPvfDT6oKp2UZAUCS9SYWWxEkHyockRigDPEIJqGTg3uTBLQaxHaRSCz2SUL+QYInjo517yJrlVC5IjqhH95Zw7sgeYP2IYbKab5rY4BA2KfxDuAXDFMJPrXejT4rElnRipht1pCree/aA9cDxi48cN2VhZLicb/kI75PSNg3T7PTXfhOxhNpyCxN+wgJ0e6zFTZSW7XKYGVYeJvG1g8YSh/QCNrIx1tPcnyW59yMXNCGhqGoYRJu4Voa5ftbzI9TxlpaoXnyQ1MoKkPN3LV+DMtpXmTTraqw6bTlgrzKDTccQLwDE3g8GYNLNHpWUsSPvph5skaDOcowFrvv91OS5pvN7V0Yk0kDqMACB69gHC/b05Tb2dJlMRVmKfJUJ9HuaIdhA/a5oMzipsUnHkGYlIczHlZeqEimiLE0DGR4I6sjo+nnAVKAaGxfUJ+d/zfCjie7p8cezCeQksnVHMiaUakwIEe/b9G9Hw29xil7FU6ZLKaMCv31M2Bjdu8dumaAbeRw4gdnUhAUO1rqcPFMyJ4ldTMHJY/pJj7jAUF24vIehH/m98POBftYXhK5g2XhAELdqCBeJJjAog0=
bucket: waldojobs
local-dir: cordova/platforms/ios/build
upload-dir: ios-build
acl: public_read
verbose: true
on:
branch: master
condition: $TRAVIS_OS_NAME = osx
############################# ANDROID BUILD #############################
- if: env(BUILD_ANDROID) = true
os: linux
sudo: required
language: android
android:
components:
- tools
- tools
- platform-tools
- build-tools-26.0.1
- android-26
addons:
apt:
sources:
- sourceline: deb https://dl.yarnpkg.com/debian/ stable main
key_url: https://dl.yarnpkg.com/debian/pubkey.gpg
packages:
- oracle-java8-installer
- oracle-java8-set-default
- yarn
# - jq
licenses:
- android-googletv-license-.+
- google-gdk-license-.+
- android-sdk-license-.+
- intel-android-extra-license-.+
- android-sdk-preview-license-.+
- mips-android-sysimage-license-.+
env:
global:
- JOBS=1
- JAVA_HOME=/usr/lib/jvm/java-8-oracle
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/Library/Caches/Yarn/v1/
- $HOME/.cache/yarn/v1/
before_install:
- export LANG=en_US.UTF-8
- sh scripts/before-install-linux.sh
script:
- sh scripts/build-android.sh
deploy:
- skip_cleanup: true
provider: s3
access_key_id: AKIAJMH545S5JKUIND7A
secret_access_key:
secure: Pd2BuDHdn1jxsfOdcfAl/ZIcCJRFT0cULG7eCaLdh0/mkaG9nbfc6+Nm3vk0S0evwHp2yPljzndia3MgepkeXfiYPjTvPvfDT6oKp2UZAUCS9SYWWxEkHyockRigDPEIJqGTg3uTBLQaxHaRSCz2SUL+QYInjo517yJrlVC5IjqhH95Zw7sgeYP2IYbKab5rY4BA2KfxDuAXDFMJPrXejT4rElnRipht1pCree/aA9cDxi48cN2VhZLicb/kI75PSNg3T7PTXfhOxhNpyCxN+wgJ0e6zFTZSW7XKYGVYeJvG1g8YSh/QCNrIx1tPcnyW59yMXNCGhqGoYRJu4Voa5ftbzI9TxlpaoXnyQ1MoKkPN3LV+DMtpXmTTraqw6bTlgrzKDTccQLwDE3g8GYNLNHpWUsSPvph5skaDOcowFrvv91OS5pvN7V0Yk0kDqMACB69gHC/b05Tb2dJlMRVmKfJUJ9HuaIdhA/a5oMzipsUnHkGYlIczHlZeqEimiLE0DGR4I6sjo+nnAVKAaGxfUJ+d/zfCjie7p8cezCeQksnVHMiaUakwIEe/b9G9Hw29xil7FU6ZLKaMCv31M2Bjdu8dumaAbeRw4gdnUhAUO1rqcPFMyJ4ldTMHJY/pJj7jAUF24vIehH/m98POBftYXhK5g2XhAELdqCBeJJjAog0=
bucket: waldojobs-dev
local-dir: cordova/platforms/android/build
upload-dir: android-build
acl: public_read
verbose: true
on:
branch: dev
condition: $TRAVIS_OS_NAME = linux
- skip_cleanup: true
provider: s3
access_key_id: AKIAJMH545S5JKUIND7A
secret_access_key:
secure: Pd2BuDHdn1jxsfOdcfAl/ZIcCJRFT0cULG7eCaLdh0/mkaG9nbfc6+Nm3vk0S0evwHp2yPljzndia3MgepkeXfiYPjTvPvfDT6oKp2UZAUCS9SYWWxEkHyockRigDPEIJqGTg3uTBLQaxHaRSCz2SUL+QYInjo517yJrlVC5IjqhH95Zw7sgeYP2IYbKab5rY4BA2KfxDuAXDFMJPrXejT4rElnRipht1pCree/aA9cDxi48cN2VhZLicb/kI75PSNg3T7PTXfhOxhNpyCxN+wgJ0e6zFTZSW7XKYGVYeJvG1g8YSh/QCNrIx1tPcnyW59yMXNCGhqGoYRJu4Voa5ftbzI9TxlpaoXnyQ1MoKkPN3LV+DMtpXmTTraqw6bTlgrzKDTccQLwDE3g8GYNLNHpWUsSPvph5skaDOcowFrvv91OS5pvN7V0Yk0kDqMACB69gHC/b05Tb2dJlMRVmKfJUJ9HuaIdhA/a5oMzipsUnHkGYlIczHlZeqEimiLE0DGR4I6sjo+nnAVKAaGxfUJ+d/zfCjie7p8cezCeQksnVHMiaUakwIEe/b9G9Hw29xil7FU6ZLKaMCv31M2Bjdu8dumaAbeRw4gdnUhAUO1rqcPFMyJ4ldTMHJY/pJj7jAUF24vIehH/m98POBftYXhK5g2XhAELdqCBeJJjAog0=
bucket: waldojobs
local-dir: cordova/platforms/android/build
upload-dir: android-build
acl: public_read
verbose: true
on:
branch: master
condition: $TRAVIS_OS_NAME = linux
############################# EMBER BUILD #############################
- language: node_js
node_js:
- "6"
sudo: false
dist: trusty
addons:
chrome: stable
cache:
directories:
- $HOME/.npm
env:
global:
- JOBS=1
before_install:
- npm config set spin false
- npm install -g bower
install:
- npm install
- bower install
after_success:
- sh scripts/build-ember-app.sh
deploy:
- skip_cleanup: true
provider: s3
access_key_id: AKIAJMH545S5JKUIND7A
secret_access_key:
secure: Pd2BuDHdn1jxsfOdcfAl/ZIcCJRFT0cULG7eCaLdh0/mkaG9nbfc6+Nm3vk0S0evwHp2yPljzndia3MgepkeXfiYPjTvPvfDT6oKp2UZAUCS9SYWWxEkHyockRigDPEIJqGTg3uTBLQaxHaRSCz2SUL+QYInjo517yJrlVC5IjqhH95Zw7sgeYP2IYbKab5rY4BA2KfxDuAXDFMJPrXejT4rElnRipht1pCree/aA9cDxi48cN2VhZLicb/kI75PSNg3T7PTXfhOxhNpyCxN+wgJ0e6zFTZSW7XKYGVYeJvG1g8YSh/QCNrIx1tPcnyW59yMXNCGhqGoYRJu4Voa5ftbzI9TxlpaoXnyQ1MoKkPN3LV+DMtpXmTTraqw6bTlgrzKDTccQLwDE3g8GYNLNHpWUsSPvph5skaDOcowFrvv91OS5pvN7V0Yk0kDqMACB69gHC/b05Tb2dJlMRVmKfJUJ9HuaIdhA/a5oMzipsUnHkGYlIczHlZeqEimiLE0DGR4I6sjo+nnAVKAaGxfUJ+d/zfCjie7p8cezCeQksnVHMiaUakwIEe/b9G9Hw29xil7FU6ZLKaMCv31M2Bjdu8dumaAbeRw4gdnUhAUO1rqcPFMyJ4ldTMHJY/pJj7jAUF24vIehH/m98POBftYXhK5g2XhAELdqCBeJJjAog0=
bucket: waldojobs-dev
local-dir: dist
acl: public_read
verbose: true
on:
branch: dev
- skip_cleanup: true
provider: s3
access_key_id: AKIAJMH545S5JKUIND7A
secret_access_key:
secure: Pd2BuDHdn1jxsfOdcfAl/ZIcCJRFT0cULG7eCaLdh0/mkaG9nbfc6+Nm3vk0S0evwHp2yPljzndia3MgepkeXfiYPjTvPvfDT6oKp2UZAUCS9SYWWxEkHyockRigDPEIJqGTg3uTBLQaxHaRSCz2SUL+QYInjo517yJrlVC5IjqhH95Zw7sgeYP2IYbKab5rY4BA2KfxDuAXDFMJPrXejT4rElnRipht1pCree/aA9cDxi48cN2VhZLicb/kI75PSNg3T7PTXfhOxhNpyCxN+wgJ0e6zFTZSW7XKYGVYeJvG1g8YSh/QCNrIx1tPcnyW59yMXNCGhqGoYRJu4Voa5ftbzI9TxlpaoXnyQ1MoKkPN3LV+DMtpXmTTraqw6bTlgrzKDTccQLwDE3g8GYNLNHpWUsSPvph5skaDOcowFrvv91OS5pvN7V0Yk0kDqMACB69gHC/b05Tb2dJlMRVmKfJUJ9HuaIdhA/a5oMzipsUnHkGYlIczHlZeqEimiLE0DGR4I6sjo+nnAVKAaGxfUJ+d/zfCjie7p8cezCeQksnVHMiaUakwIEe/b9G9Hw29xil7FU6ZLKaMCv31M2Bjdu8dumaAbeRw4gdnUhAUO1rqcPFMyJ4ldTMHJY/pJj7jAUF24vIehH/m98POBftYXhK5g2XhAELdqCBeJJjAog0=
bucket: waldojobs
local-dir: dist
acl: public_read
verbose: true
on:
branch: master