forked from kubernetes/kompose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (45 loc) · 2.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# we need trusty because test-cmd depends on jq version >= 1.5
dist : trusty
sudo: required
language: go
# make this also work for forks
go_import_path: github.com/kubernetes/kompose
matrix:
include:
- go: "1.9"
env:
# Only build docs once
- BUILD_DOCS=yes
# Test cross-compile as well
- CROSS_COMPILE=yes
- go: "1.10"
- go: "1.11"
install:
- true
# This is required because sometimes Travis ends up in a detached HEAD state after git clone
- script/test/cmd/fix_detached_head.sh
script:
- make bin
- make test
# Only cross-compile once
- if [ "$CROSS_COMPILE" == "yes" ]; then make cross; fi
after_success:
# gover collects all .coverprofile files and saves it to one file gover.coverprofile
- gover
- goveralls -coverprofile=gover.coverprofile -service=travis-ci
# sync the docs only if everything else was successful
- ./script/sync-docs.sh
before_deploy:
- make cross
- ./script/generate-bintray-json.sh
deploy:
provider: bintray
repo: kompose/kompose
file: ./.bintray.json
user:
secure: "dAbxiVGW5eGlnSU5CgYkNnCncWembkqWKne1SG7gS0vIUr8Qt61VwTeJ8vC14QzVmLoO1iJB+qiBcdASrGtzma95aaIAuoNFapc3Oubou6UDRQ7lA+mWBflVKGY4Oo7gcSSEtFaxhJApdkfK+cuEih2ekUS2UxL3A2kVkDNzdVreFuRI6Lr8RjNpqDjRSxjjDTBPFsjSwvq4gWyfAwoYvIyg67OCpz09BxQI+wcInuZgXd2uecq6QucSE7fTsZeqEHIjS3NormlWkKhZrQJrrAHVcr0p3EqVF0lfV1LjlQ7MkjcEsF4jxm+ggOGPs3UbrqDvW5XJBlb7Fi+0bdU+k2IcF5vbl17TbhmVHrdCZC0hLrmv+LF3E/Hx3Evv3lNTIS8Jrdn0k2Sbxdu7tSonN+vXtNEbtsUPehfEMDFj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