28 lines
819 B
YAML
28 lines
819 B
YAML
dist: trusty
|
|
language: go
|
|
go:
|
|
- 1.12
|
|
services:
|
|
- postgresql
|
|
addons:
|
|
ssh_known_hosts: arch1.vdb.to
|
|
postgresql: '11.2'
|
|
go_import_path: github.com/vulcanize/vulcanizedb
|
|
before_install:
|
|
- 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:
|
|
- env GO111MODULE=on make test
|
|
- env GO111MODULE=on make integrationtest
|
|
notifications:
|
|
email: false
|