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
|
|
|
|
|
|
|
install:
|
|
|
|
- go get -u github.com/golang/dep/cmd/dep
|
|
|
|
- dep ensure
|
|
|
|
- go get -u github.com/onsi/ginkgo/ginkgo
|
|
|
|
|
2017-10-31 14:03:13 +00:00
|
|
|
before_script:
|
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
|
|
|
|
- ./scripts/setup
|
|
|
|
- nohup ./scripts/start_private_blockchain </dev/null &
|
2017-11-01 15:17:01 +00:00
|
|
|
- createdb vulcanize_private
|
2017-11-06 19:22:02 +00:00
|
|
|
- psql vulcanize_private < db/schema.sql
|
2018-01-03 17:23:43 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- ginkgo -r
|
|
|
|
|
2017-10-31 14:03:13 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|