diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..ac077457 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/migrations/schema.sql b/migrations/schema.sql index ae617c5b..cdef6443 100644 --- a/migrations/schema.sql +++ b/migrations/schema.sql @@ -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 -- -