forked from tjeske/containerflight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 1.41 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
branches:
only:
- master
language: go
sudo: required
services:
- docker
matrix:
include:
- go: 1.10.x
- go: 1.11.x
env: DEPLOY=true
- go: tip
allow_failures:
- go: tip
before_install:
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
script:
- go build -ldflags '-s'
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- ./system-tests/run.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: releases
skip_cleanup: true # Important, otherwise the build output would be purged.
api_key:
secure: MhcI+AvfR9zqV+VuhXUUjx114zbpW/u87CEYDGxag4RRHGrCbpSvIFUcVvOlUg/KAhcPSWF3HGRsjNe72kJvyV0eEDHgpJJWreA9ikmhsXtF29XN67uakara1070hyt43ACx6kvajH9V8pkP44HZK/Ov7fWbWtusc/Bk+1ndnkjJFkWfG2xQgT9w/OHE8UR0p2flnh+SR/qdURG4Z3/5bw0X+g1l+cMmV5zYYkGUgMJhNLjbiVXKqH3Wedt4POSmryqgAVZ8XCyp9YQES9fW8CO0iCF2ehKdqWxKJH2wflTrIrwV9FAGoSG3HNIzWLcKZgv1btZujkNfKKIOI6Fok36e8+TPZ3jGo9kKLKKaD7OZvuS/8IzhLMBFpRCYmH7rLXEi53kcsNHQaG3arqahVJ6wojQ0IXKhTqD6uiY+0yeBHjY+sQ3EhAkyXAJZp+I+IgzlRKCeKdyjzwpdwtzDcfDNxaUJX6WU+AJ8Vbs7e/3kSS36jfk4S8HUQsFEU9+D2J/mdxYv4qX+2rtctfhKqCPifvSzo6gjR7ZIs13FzxueHD98q7nhHxxcQNCLVHiisoC6uF7jVVLdJd5tsSOmD+18RYkSBRPiwfN75oKJWvFG6XEOr3Dd+cKJbRPp8xjy3Bgn2LPo46INEOwPpSpvGimtLyBp6kbjckIeRNgJLf4=
file: containerflight
on:
repo: tjeske/containerflight
tags: true # The deployment happens only if the commit has a tag.
condition: $DEPLOY = true
branch: master