1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
mxpv-podsync/.travis.yml

21 lines
448 B
YAML
Raw Normal View History

2017-08-13 19:39:01 -07:00
dist: trusty
sudo: required
language: go
go_import_path: github.com/mxpv/podsync
go:
- 1.8.3
install:
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
services:
- postgresql
addons:
postgresql: "9.6"
before_script:
- psql -a -c "CREATE DATABASE podsync;" -U postgres
2017-10-26 16:48:22 -07:00
- psql -a -f ./pkg/models/pg.sql -d podsync -U postgres
2017-08-13 19:39:01 -07:00
script:
- set -e
- go test -v -short $(go list -e ./... | grep -v vendor)
- go tool vet -all ./pkg