Skip to content

Commit

Permalink
Try again with Travis matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron42net committed Nov 13, 2016
1 parent 8f36a71 commit 7641431
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 11 additions & 10 deletions .travis.yml
Expand Up @@ -3,15 +3,16 @@ dist: trusty

language: go

go:
- 1.4.3
- 1.5.4
- 1.6.3
- 1.7.3

env:
- VIPS_VERSION=8.3.3
- VIPS_VERSION=8.4.4
matrix:
include:
- go: 1.4.3
env: VIPS_VERSION=8.3.3 GOLINT=false
- go: 1.5.4
env: VIPS_VERSION=8.3.3 GOLINT=false
- go: 1.6.3
env: VIPS_VERSION=8.4.4 GOLINT=true
- go: 1.7.3
env: VIPS_VERSION=8.4.4 GOLINT=true

before_install:
- rm -rf $GOPATH/{bin,pkg}/*
Expand All @@ -25,7 +26,7 @@ script:
- go test -v -short -race ./...
- diff -u <(echo -n) <(gofmt -d -s .)
- go vet ./...
- [[ "$TRAVIS_GO_VERSION" > "1.6" ]] && go get github.com/golang/lint/golint && golint -set_exit_status ./...
- [ "$GOLINT" = "true" ] && go get github.com/golang/lint/golint && golint -set_exit_status ./...

after_success:
- for dir in ./format ./thumbnail ./cmd/fotomat; do go test -short -cover -covermode=count -coverprofile=$dir/profile.out $dir; done
Expand Down
2 changes: 1 addition & 1 deletion cmd/fotomat/version.go
Expand Up @@ -8,7 +8,7 @@ import (

const (
// FotomatVersion is updated by git-hooks/pre-commit
FotomatVersion = "2.6.206"
FotomatVersion = "2.6.207"
)

var (
Expand Down

0 comments on commit 7641431

Please sign in to comment.