2017-07-27 05:17:24 +02:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
2016-12-29 03:30:14 +02:00
|
|
|
language: go
|
2017-09-14 14:43:30 +02:00
|
|
|
go: 1.9
|
2017-09-13 01:58:14 +02:00
|
|
|
services:
|
|
|
|
- docker
|
2017-04-15 20:41:41 +02:00
|
|
|
install:
|
|
|
|
- make setup
|
|
|
|
- gem install fpm
|
2017-07-27 05:17:24 +02:00
|
|
|
- sudo apt-get update
|
2017-08-19 00:45:44 +02:00
|
|
|
- sudo apt-get install --yes snapd rpm
|
2017-07-27 05:24:19 +02:00
|
|
|
- export PATH=/snap/bin:$PATH
|
2017-07-27 05:17:24 +02:00
|
|
|
- sudo snap install snapcraft --candidate --classic
|
2017-01-02 18:19:03 +02:00
|
|
|
script:
|
2017-09-26 23:49:53 +02:00
|
|
|
- make ci
|
2017-04-23 13:22:12 +02:00
|
|
|
- test -n "$TRAVIS_TAG" || go run main.go --skip-validate --skip-publish
|
2017-01-21 23:21:42 +02:00
|
|
|
after_success:
|
2017-04-22 02:22:11 +02:00
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2017-10-07 22:55:38 +02:00
|
|
|
- test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
2017-12-06 01:59:57 +02:00
|
|
|
- test -n "$TRAVIS_TAG" && go run main.go && make static-push
|
2016-12-29 03:30:14 +02:00
|
|
|
notifications:
|
2017-01-02 14:45:05 +02:00
|
|
|
email: false
|