Merge pull request #34 from 8thlight/add-travis

Add travis
This commit is contained in:
ericmeyer 2017-10-31 09:13:13 -05:00 committed by GitHub
commit 293a0957fa
2 changed files with 13 additions and 2 deletions

13
.travis.yml Normal file
View File

@ -0,0 +1,13 @@
dist: trusty
language: go
go:
- 1.9
services:
- postgresql
before_script:
- createdb vulcanize
- psql vulcanize < migrations/schema.sql
script:
- go test -v ./core/...
notifications:
email: false

View File

@ -52,7 +52,6 @@ CREATE TABLE blocks (
--
CREATE SEQUENCE blocks_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
@ -103,4 +102,3 @@ ALTER TABLE ONLY schema_migrations
--
-- PostgreSQL database dump complete
--