build: update travis CI config

This commit updates the previous travis CI config to pin against the
two latest golang versions, and perform installation via Glide.

Additionally, this should allow lnwallet’s integration tests to build
properly as the btcd binary will be available in the build process’
PATH.
This commit is contained in:
Olaoluwa Osuntokun 2016-07-25 16:39:22 -07:00
parent 7f186b3444
commit a75b56ce77
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -1,4 +1,12 @@
language: go
go:
- tip
- 1.5.4
- 1.6.3
sudo: false
install:
- go get -v github.com/roasbeef/btcd # Required for the rpc test package.
- go get -v github.com/Masterminds/glide
- glide install
script:
- export PATH=$PATH:$HOME/gopath/bin
- export GO15VENDOREXPERIMENT=1