forked from snowplow/sql-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (32 loc) · 1.16 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
dist: trusty
sudo: false
language: go
go:
- 1.9.2
- tip
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
before_script:
- ./integration/setup_travis.sh
script:
- go build -o sql-runner ./sql_runner/
- ./integration/run_tests.sh
- go test ./sql_runner/ -v -covermode=count -coverprofile=coverage.out
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci
before_deploy:
- go get github.com/mitchellh/gox
- pip install --user release-manager==0.1.0
deploy:
skip_cleanup: true
provider: script
script: release-manager --config .release.yml --check-version --make-version --make-artifact --upload-artifact
on:
condition: '"${TRAVIS_GO_VERSION}" == "1.9.2"'
tags: true
addons:
postgresql: '9.3'
env:
global:
- secure: eP2CEhjE6YEgajudRcW6Lsyy92IxAB1KS5Cw0p/defwpouSuZS4NF8+YjcUhfI9sbkobL6KGaL12CYqLWToepQpiDHJ1eRaH+/8HQ+kgqwLxmHptVlqEXhkQPVJL04MvxZqeXocuOluGlWHOHMdlmDTA7eI/tKJtyykIRKyXFAc=
- secure: TP/mMjN910q8M/tknHkPxdYfKl25eQqdSscfTlQlnBxJpQgrgX25WgK1XuNI+IUTTmn1cM/eVRyKvUWflxqzwSUhgWO7s1EcN18WYU7Xl+RkWaoOMjqzV3q5l4M8rDK8LiBM/xrcz/rQMTZnWYm/tJ6+tjTQiuAezZh3bwuMvAo=