-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
40 lines (40 loc) · 1.1 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
language: ruby
sudo: false
rvm: 2.5.1
env:
global:
- CHIRP_SUMMARY_OUTPUT="${TRAVIS_BUILD_DIR}/chirp.json"
- SITE=org
addons: { apt: { packages: [bc] } }
linux_shared: &linux_shared
os: linux
addons: { apt: { packages: [bc] } }
matrix:
include:
- sudo: required
dist: trusty
env: QUEUE=gce DIST=trusty
<<: *linux_shared
- sudo: required
dist: xenial
group: edge
env: QUEUE=gce DIST=xenial
<<: *linux_shared
- os: osx
rvm: default
env: QUEUE=macstadium6 IMAGE=default
- os: osx
osx_image: xcode10.12
rvm: default
env: QUEUE=macstadium6 IMAGE=xcode10.12
before_install:
- gem update --system
- gem install bundler
- |
if command -v gcloud &>/dev/null; then
openssl aes-256-cbc -K $encrypted_32e2707dc7d4_key -iv $encrypted_32e2707dc7d4_iv -in gs-travis-chirp.json.enc -out gs-travis-chirp.json -d
gcloud auth activate-service-account "$(jq -r .client_email <gs-travis-chirp.json)" --key-file $(pwd)/gs-travis-chirp.json
fi
script: bundle exec chirp scripts
after_script: bundle exec chirp sendstats 2>/dev/null
after_failure: bundle exec chirp dumplogs