ipld-eth-server/.travis.yml

45 lines
1.1 KiB
YAML
Raw Normal View History

dist: trusty
language: go
go:
- 1.11
services:
- postgresql
addons:
postgresql: "9.6"
2018-09-17 18:29:15 +00:00
ssh_known_hosts:
- 147.75.96.51
2018-01-26 00:10:54 +00:00
go_import_path: github.com/vulcanize/vulcanizedb
before_install:
# ginkgo golint dep migrate
- echo -e "Host github.com\n\tHostName github.com\n\tUser git\n\tIdentityFile ~/.ssh/id_rsa\n" >> ~/.ssh/config
- make installtools
- bash ./scripts/install-postgres-10.sh
2018-08-07 15:51:34 +00:00
- 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:
2018-09-17 15:22:21 +00:00
- go get -u github.com/pressly/sup/cmd/sup
- sudo -u postgres createdb vulcanize_private
2019-01-24 12:17:41 +00:00
- make version_migrations
- make migrate NAME=vulcanize_private
- bash ./scripts/start_test_chain.sh
- cd postgraphile && yarn
script:
- yarn test
- cd ../
- make test
- make integrationtest
notifications:
email: false
2018-08-07 15:51:34 +00:00
after_script:
- bash ./scripts/stop_test_chain.sh
2018-09-19 17:53:15 +00:00
- bash ./bin/deploy.sh