2017-10-25 15:57:59 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
2017-10-19 14:39:57 +00:00
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- 1.9
|
2017-10-25 15:57:59 +00:00
|
|
|
services:
|
|
|
|
- postgresql
|
|
|
|
before_script:
|
|
|
|
- go get -u -d github.com/mattes/migrate/cli github.com/lib/pq
|
|
|
|
- go build -tags 'postgres' -o /usr/local/bin/migrate github.com/mattes/migrate/cli
|
|
|
|
- psql -c 'create database vulcanize;' -U postgres
|
|
|
|
- migrate -database 'postgresql://localhost:5432/vulcanize?sslmode=disable' -path ./migrations up
|
2017-10-24 14:24:07 +00:00
|
|
|
script:
|
|
|
|
- go test -v ./core/...
|
2017-10-25 15:57:59 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|