3baca64903
* Add getSignatures command for list of signatures in constants * Update VatTune converter's formatting of addresses and added an integration test * Move VatTune and PriceFeeds integration tests to a common suite * Update VatGrab converter for address format * Update frob converter to fix urn and ilk formatting/decoding * Update formatting * Update make test command and add integrationtest command * Add integration test to travis build * Update creating headers in integration tests to include Raw and Timestamp fields
42 lines
968 B
YAML
42 lines
968 B
YAML
dist: trusty
|
|
language: go
|
|
go:
|
|
- 1.9
|
|
services:
|
|
- postgresql
|
|
addons:
|
|
postgresql: "9.6"
|
|
ssh_known_hosts:
|
|
- 147.75.96.51
|
|
|
|
go_import_path: github.com/vulcanize/vulcanizedb
|
|
|
|
before_install:
|
|
# ginkgo golint dep migrate
|
|
- 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
|
|
- make integrationtest
|
|
|
|
notifications:
|
|
email: false
|
|
|
|
after_script:
|
|
- bash ./pkg/transformers/stop_test_chain.sh
|
|
- bash ./bin/deploy.sh
|