2017-10-31 14:03:13 +00:00
|
|
|
dist: trusty
|
|
|
|
language: go
|
|
|
|
go:
|
2020-01-23 19:38:51 +00:00
|
|
|
- 1.12
|
2017-10-31 14:03:13 +00:00
|
|
|
services:
|
2020-01-23 19:38:51 +00:00
|
|
|
- postgresql
|
2017-12-07 15:58:06 +00:00
|
|
|
addons:
|
2020-01-23 19:38:51 +00:00
|
|
|
ssh_known_hosts: arch1.vdb.to
|
2019-05-14 21:49:05 +00:00
|
|
|
postgresql: '11.2'
|
2020-06-22 18:12:32 +00:00
|
|
|
go_import_path: github.com/vulcanize/ipfs-blockchain-watcher
|
2018-01-03 18:42:48 +00:00
|
|
|
before_install:
|
2020-01-23 19:38:51 +00:00
|
|
|
- openssl aes-256-cbc -K $encrypted_e1db309e8776_key -iv $encrypted_e1db309e8776_iv
|
|
|
|
-in temp_rsa.enc -out temp_rsa -d
|
|
|
|
- eval "$(ssh-agent -s)"
|
|
|
|
- chmod 600 temp_rsa
|
|
|
|
- ssh-add temp_rsa
|
|
|
|
- ssh -4 -fNL 8545:localhost:8545 geth@arch1.vdb.to
|
|
|
|
- make installtools
|
|
|
|
- bash ./scripts/install-postgres-11.sh
|
|
|
|
- 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 17:23:43 +00:00
|
|
|
script:
|
2020-01-23 19:38:51 +00:00
|
|
|
- env GO111MODULE=on make test
|
|
|
|
- env GO111MODULE=on make integrationtest
|
2017-10-31 14:03:13 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|