Skip to content

Commit

Permalink
Travis: Update.
Browse files Browse the repository at this point in the history
Use container-based builds.

Build for tip (with allowed failure and fast finish).
  • Loading branch information
dmitshur committed Dec 13, 2015
1 parent 5fa4a3c commit 780b5c5
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
sudo: false
addons:
apt_packages:
- libgl1-mesa-dev
- xorg-dev
language: go
go:
- 1.5
before_install:
- sudo apt-get update
- sudo apt-get install -qq libgl1-mesa-dev xorg-dev
- 1.5.2
- tip
matrix:
allow_failures:
- go: tip
fast_finish: true
install:
- go get golang.org/x/tools/cmd/vet
- # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
script:
- go get -t -v ./v3.1/...
- diff -u <(echo -n) <(gofmt -d -s .)
Expand Down

0 comments on commit 780b5c5

Please sign in to comment.