sudo: false
language: go

go:
  - 1.4
  - 1.5
  - tip

before_install:
  - go get github.com/kr/godep
  - go get github.com/c4milo/unzipit
  - mkdir -p $HOME/gopath/src/github.com/hooklift/govix; git clone https://github.com/hooklift/govix.git $HOME/gopath/src/github.com/hooklift/govix
  - go get github.com/hooklift/govmx
  - go get github.com/dustin/go-humanize
  - go get github.com/mitchellh/gox
  - mkdir -p $HOME/gopath/src/github.com/hashicorp/terraform; git clone https://github.com/hashicorp/terraform.git $HOME/gopath/src/github.com/hashicorp/terraform
  - export PATH="$HOME/gopath/bin:$PATH"
  - pushd $HOME/gopath/src/github.com/hashicorp/terraform; make updatedeps; make dev; popd

install: make build

matrix:
  allow_failures:
    - go: tip

sudo: false
language: go

go:
  - 1.4
  - 1.5
  - 1.8
  - tip

before_install:
  - go get github.com/kr/godep
  - go get github.com/c4milo/unzipit
  - mkdir -p $HOME/gopath/src/github.com/hooklift/govix; git clone https://github.com/hooklift/govix.git $HOME/gopath/src/github.com/hooklift/govix
  - go get github.com/hooklift/govmx
  - go get github.com/dustin/go-humanize
  - go get github.com/mitchellh/gox
  - mkdir -p $HOME/gopath/src/github.com/hashicorp/terraform; git clone https://github.com/hashicorp/terraform.git $HOME/gopath/src/github.com/hashicorp/terraform
  - export PATH="$HOME/gopath/bin:$PATH"
  - pushd $HOME/gopath/src/github.com/hashicorp/terraform; make; popd

install: make build

matrix:
  allow_failures:
    - go: tip

Add Go 1.8 to CI config
Add Go 1.8 to CI config
