language: go

go:
  - 1.2
  - 1.3
  - tip

before_install:
  - go get github.com/c4milo/unzipit
  - mkdir -p $HOME/gopath/src/github.com/cloudescape/govix; git clone https://github.com/cloudescape/govix.git $HOME/gopath/src/github.com/cloudescape/govix
  - go get github.com/dustin/go-humanize
  - mkdir -p $HOME/gopath/src/github.com/hashicorp/terraform; git clone https://github.com/hashicorp/terraform.git $HOME/gopath/src/github.com/hashicorp/terraform

install: make build

matrix:
  allow_failures:
    - go: tip

language: go

go:
  - 1.2
  - 1.3
  - tip

before_install:
  - go get github.com/c4milo/unzipit
  - mkdir -p $HOME/gopath/src/github.com/cloudescape/govix; git clone https://github.com/cloudescape/govix.git $HOME/gopath/src/github.com/cloudescape/govix
  - go get github.com/dustin/go-humanize
  - mkdir -p $HOME/gopath/src/github.com/hashicorp/terraform; git clone https://github.com/hashicorp/terraform.git $HOME/gopath/src/github.com/hashicorp/terraform
  - cd $HOME/gopath/src/github.com/hashicorp/terraform; make dev

install: make build

matrix:
  allow_failures:
    - go: tip

Build terraform as well so it downloads its dependencies
Build terraform as well so it downloads its dependencies
