2017-10-31 14:03:13 +00:00
|
|
|
dist: trusty
|
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- 1.9
|
|
|
|
services:
|
|
|
|
- postgresql
|
2017-12-07 15:58:06 +00:00
|
|
|
addons:
|
|
|
|
postgresql: "9.6"
|
2018-01-03 17:23:43 +00:00
|
|
|
|
2018-01-26 00:10:54 +00:00
|
|
|
go_import_path: github.com/vulcanize/vulcanizedb
|
|
|
|
|
2018-01-03 18:42:48 +00:00
|
|
|
before_install:
|
2018-02-08 16:12:08 +00:00
|
|
|
# ginkgo golint dep migrate
|
|
|
|
- make installtools
|
2018-01-03 18:42:48 +00:00
|
|
|
# geth
|
2017-11-29 20:17:57 +00:00
|
|
|
- wget https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.7.2-1db4ecdc.tar.gz
|
|
|
|
- tar -xzf geth-linux-amd64-1.7.2-1db4ecdc.tar.gz
|
|
|
|
- sudo cp geth-linux-amd64-1.7.2-1db4ecdc/geth /usr/local/bin
|
2018-01-03 18:42:48 +00:00
|
|
|
|
|
|
|
before_script:
|
2018-02-08 16:12:08 +00:00
|
|
|
- sudo -u postgres createdb vulcanize_private
|
2018-01-25 21:46:55 +00:00
|
|
|
- make migrate HOST_NAME=localhost NAME=vulcanize_private PORT=5432
|
2018-02-08 16:12:08 +00:00
|
|
|
- make createprivate
|
|
|
|
- nohup make startprivate </dev/null &
|
2018-01-03 17:23:43 +00:00
|
|
|
|
|
|
|
script:
|
2018-02-08 16:12:08 +00:00
|
|
|
- make test
|
2018-01-03 17:23:43 +00:00
|
|
|
|
2017-10-31 14:03:13 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|