ipld-eth-server/.travis.yml

28 lines
826 B
YAML
Raw Permalink Normal View History

dist: trusty
language: go
go:
2020-01-23 19:38:51 +00:00
- 1.12
services:
2020-01-23 19:38:51 +00:00
- postgresql
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-05-30 03:02:47 +00:00
go_import_path: github.com/vulcanize/ipfs-chain-watcher
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
script:
2020-01-23 19:38:51 +00:00
- env GO111MODULE=on make test
- env GO111MODULE=on make integrationtest
notifications:
email: false