forked from sensu/uchiwa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.47 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
sudo: true
language: go
go:
- 1.9
env:
matrix:
- TRAVIS_GOOS=linux TRAVIS_GOARCH=386
- TRAVIS_GOOS=linux TRAVIS_GOARCH=amd64
global:
- AWS_REGION=us-west-2
- secure: "AbBK9m/ERyL2RzTd2+IwYkPxW+gnQSXB83AlcvgRNfGF+Y+zaDDZ4PaKDdl0hfKmsIwzvxpTn/t3pwN/UXYCdcKVzQFHmqhpgL1Vb6D6GV0tzSE87L9jod+5H5zFo4MufxIV2WpiV2yErJh+pl24l3kBuoJc7Ot3D3gj3tjLSCU="
- secure: "dfwJP2lOpCJxQ23ZiLOlDvuCvpwQOATE+U3Xgwwor7gqyoCMxqEdtSlVyt3PLx+LV1kWasJWuJ6pmrPplhk6CYXk/bQP9DNIJgnKiJdorg1/sxz/w2/KtuzizT+Kru+ZJVVgBcD8T1dTNFnFsPYtTrS/UdFyJ1M7gD+U7+QpuhI="
before_install:
- gem install rake -v "10.5.0"
- gem install fpm -v "1.8.1"
- sudo apt-get install -y rpm
# Workaround for https://github.com/travis-ci/travis-ci/issues/6126
- export GOOS=$TRAVIS_GOOS
- export GOARCH=$TRAVIS_GOARCH
script:
- "./build/travis.sh"
deploy:
provider: s3
access_key_id:
secure: PBosX0nFAqv/Drhny3JenSau63KZQjVMJzRN47ZGqJMUeCsi1B7sxj5STVeM/HSr1oz+00+CzdYKguqO96EaZ26iqc9e2tB2ko/xYuWP720k1aDsu+6LMaexkDew8PNRcop0pGO+MQufyE4Ofn5JcuQRvfDYZiZVe3m69s8Jb50=
secret_access_key:
secure: bOY5ZMu3VK1X+ZRk/wSdal7s+wCuey/V1B7pWftfaIBDXvRJE4JY6Klvl2vL7qpBa/IxgJBJjry8b0GHfw7KmQPxisM8O9zXGa2rNlgrI6t5o8BYnyrHLQ9av/LbCH+2ln5HX8/fulyyGUpQl7gSMoHI5DLalq3/v1k+DN5pLuQ=
bucket: "sensu-omnibus-artifacts"
region: us-east-1
skip_cleanup: true
local_dir: "/tmp/assets/pkg/s3/"
on:
tags: true
after_success:
- bash <(curl -s https://codecov.io/bash) || echo "Codecov fails"
notifications:
email: false