-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
38 lines (36 loc) · 1.44 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
dist: trusty
sudo: required
services:
- docker
language: go
go:
- 1.9.1
install:
- bash scripts/gogetcookie.sh
- go get github.com/kardianos/govendor
script:
- export VERSION=v0.2.2
- export PRERELEASE=$(echo $VERSION | cut -d '-' -f 2)
- make fmt
- timeout=60000 make test
- make bin
before_deploy:
- echo "Deploying $VERSION(-$PRERELEASE) to GitHub releases"
- for d in $(find ./pkg -type d -maxdepth 1 -mindepth 1 | cut -d '/' -f3); do zip -j terraform-provisioner-chefsolo_${VERSION}_${d}.zip ./pkg/${d}/terraform* ; done
branches:
only:
- master
- test
matrix:
fast_finish: true
allow_failures:
- go: tip
deploy:
provider: releases
api_key:
secure: dY4jJUIWGfo220yCc3wYpCf+Cv8Gpk9qNIzKVljVFnUq8OmR6OEYy3M5JPlNlCj4f6D1AnnY6Yqs7u096Bmq8DI77NkjdK7bssyOvA+HC2NT6bczIp5OKf0DQw8WcIKO+pJsagENIrQpS3+lpqMepcimc1KHH2oYQT9FynoqFUPncDVCK+6Gl7a2gnP590dIz33hl1f4TzMyf953GsmYflCvYMzKFzwAt2yQl4G32HaeCpJJKaEk0jtOvuqWBjPTvkq710UZXsLwO4VS1RDW8Cwv2vYcAd3WD8a0HzUBL6+EYXP34Ed+LYc7tMmJgXJhzUNCul+916C0K0QrlxA5lrvRn471sfKakTFOPWDuVMDSeY9glznmVMQYW6wrxscU3flHr0tUEg9goR8f/IzgsgKUlq1lB731+HnlwS2K6lMUjJZvAgoEqXSmV2+x8rWejFX0dfnqQtnZK+cR71G2cJXqBsIsn0TqSDiyBAzK5qtyPIvUyCI0JC1lycNsaEnT/ae/pe6NFAGbYYM2jsZzw/cRXA8L7mLw+DLPWGC6yXWrc28nU3sITPwN74x1M0SHPPa4+mMNDdic7eS93gqOxWVDAyD9DDmkLdViqEIJhLCDE60Bc4+ulZTt0UO4ERN/gvtkeuQIQ13676Vx2zbKJqL7Nk7bXE4zNE/nSaIfXis=
file: terraform-*.zip
skip_cleanup: true
file_glob: true
on:
repo: Mwea/terraform-provisioner-chefsolo