2019-06-05 19:37:36 +02:00
|
|
|
language: go
|
2019-11-08 18:32:56 +01:00
|
|
|
services:
|
|
|
|
- docker
|
2019-06-05 19:37:36 +02:00
|
|
|
go:
|
2020-04-18 12:41:23 +02:00
|
|
|
- "1.14"
|
2019-06-05 19:37:36 +02:00
|
|
|
env:
|
|
|
|
- "GO15VENDOREXPERIMENT=1"
|
|
|
|
before_install:
|
|
|
|
- make deps
|
2019-11-09 14:00:33 +01:00
|
|
|
- curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-linux-amd64 && chmod +x container-diff-linux-amd64 && mkdir -p $HOME/bin && export PATH=$PATH:$HOME/bin && mv container-diff-linux-amd64 $HOME/bin/container-diff
|
2019-06-05 19:37:36 +02:00
|
|
|
script:
|
2020-03-22 10:55:04 +01:00
|
|
|
- make multiarch-build test-integration test-coverage
|
2019-06-06 17:16:32 +02:00
|
|
|
after_success:
|
2020-03-22 10:55:04 +01:00
|
|
|
- |
|
|
|
|
if [ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
|
|
|
git config --global user.name "Deployer" && git config --global user.email foo@bar.com
|
|
|
|
go get github.com/tcnksm/ghr
|
|
|
|
ghr -u mudler -r luet --replace $TRAVIS_TAG release/
|
|
|
|
fi
|