From 23b4537f355d7fcd48362fcf2ea54482f79be2bd Mon Sep 17 00:00:00 2001 From: Taka Goto Date: Mon, 1 Oct 2018 10:17:53 -0500 Subject: [PATCH] update travis ci to run postgraphile tests --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index fd0b03fa..4f9f0565 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,14 +16,20 @@ before_install: - make installtools - bash ./scripts/install-postgres-10.sh - npm install -g ganache-cli + - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - + - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list + - sudo apt-get update && sudo apt-get install yarn before_script: - go get -u github.com/pressly/sup/cmd/sup - sudo -u postgres createdb vulcanize_private - make migrate NAME=vulcanize_private - bash ./pkg/transformers/start_test_chain.sh + - cd postgraphile && yarn script: + - yarn test + - cd ../ - make test notifications: