From 60dd1d1d2d81c92d9995a3f8b92adfbbd3795d68 Mon Sep 17 00:00:00 2001 From: Eric Meyer Date: Tue, 31 Oct 2017 09:03:13 -0500 Subject: [PATCH 1/2] Revert "Remove Travis" This reverts commit ae737c8ef2bd64ae5405a72a4aafabb410751b18. --- .travis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .travis.yml 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 From 3cfbf00796dc1a60e2e6ba4dc6ebad002aa9d881 Mon Sep 17 00:00:00 2001 From: Eric Meyer Date: Tue, 31 Oct 2017 09:10:29 -0500 Subject: [PATCH 2/2] Remove AS SEQUENCE --- migrations/schema.sql | 2 -- 1 file changed, 2 deletions(-) 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 -- -