2017-10-31 14:03:13 +00:00
|
|
|
dist: trusty
|
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- 1.9
|
|
|
|
services:
|
|
|
|
- postgresql
|
2017-12-07 15:58:06 +00:00
|
|
|
addons:
|
|
|
|
postgresql: "9.6"
|
2018-09-17 18:29:15 +00:00
|
|
|
ssh_known_hosts:
|
|
|
|
- 147.75.96.51
|
2018-01-03 17:23:43 +00:00
|
|
|
|
2018-01-26 00:10:54 +00:00
|
|
|
go_import_path: github.com/vulcanize/vulcanizedb
|
|
|
|
|
2018-01-03 18:42:48 +00:00
|
|
|
before_install:
|
2018-02-08 16:12:08 +00:00
|
|
|
# ginkgo golint dep migrate
|
|
|
|
- make installtools
|
2018-03-27 21:06:12 +00:00
|
|
|
- bash ./scripts/install-postgres-10.sh
|
2018-08-07 15:51:34 +00:00
|
|
|
- npm install -g ganache-cli
|
2018-10-01 15:17:53 +00:00
|
|
|
- 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
|
2018-01-03 18:42:48 +00:00
|
|
|
|
|
|
|
before_script:
|
2018-09-17 15:22:21 +00:00
|
|
|
- go get -u github.com/pressly/sup/cmd/sup
|
2018-02-08 16:12:08 +00:00
|
|
|
- sudo -u postgres createdb vulcanize_private
|
2018-03-27 21:06:12 +00:00
|
|
|
- make migrate NAME=vulcanize_private
|
2018-08-07 20:17:29 +00:00
|
|
|
- bash ./pkg/transformers/start_test_chain.sh
|
2018-10-01 15:17:53 +00:00
|
|
|
- cd postgraphile && yarn
|
2018-01-03 17:23:43 +00:00
|
|
|
|
|
|
|
script:
|
2018-10-01 15:17:53 +00:00
|
|
|
- yarn test
|
|
|
|
- cd ../
|
2018-02-08 16:12:08 +00:00
|
|
|
- make test
|
2018-10-17 18:04:55 +00:00
|
|
|
- make integrationtest
|
2018-01-03 17:23:43 +00:00
|
|
|
|
2017-10-31 14:03:13 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
2018-08-07 15:51:34 +00:00
|
|
|
|
|
|
|
after_script:
|
2018-08-07 20:17:29 +00:00
|
|
|
- bash ./pkg/transformers/stop_test_chain.sh
|
2018-09-19 17:53:15 +00:00
|
|
|
- bash ./bin/deploy.sh
|