1sudo: required
2dist: trusty
3group: edge
4language: go
5go:
6    - "1.10"
7git:
8  depth: 1
9
10script:
11  - ./scripts/travis.sh
12
13# calls goreleaser when a new tag is pushed
14deploy:
15- provider: script
16  skip_cleanup: true
17  script: curl -sL http://git.io/goreleaser | bash
18  on:
19    tags: true
20    condition: $TRAVIS_OS_NAME = linux
21