Skip to content

Commit

Permalink
build on 1.9 because that doesn't break surflinef, bump version to 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mhelmetag committed Apr 7, 2018
1 parent f264cea commit 7f65a86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
20 changes: 5 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,18 @@
language: go

matrix:
include:
- go: 1.x
env: LATEST=true
- go: tip
allow_failures:
- go: tip
fast_finish: true
go:
- "1.9"

before_install:
- go get github.com/mitchellh/gox

install: true

script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d .)
- go vet $(go list ./... | grep -v /vendor/)
- go test -v -race ./...
- if [ "${LATEST}" = "true" ]; then
gox -osarch="linux/amd64 darwin/amd64 windows/amd64" -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose;
fi
- gox -osarch="linux/amd64 darwin/amd64 windows/amd64"
-ldflags "-X main.Rev=`git rev-parse --short HEAD`"
-verbose

deploy:
provider: releases
Expand All @@ -35,4 +26,3 @@ deploy:
on:
repo: mhelmetag/gosurf
tags: true
condition: $LATEST = true
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/urfave/cli"
)

const version = "0.0.1"
const version = "0.0.2"

func main() {
var pType string
Expand Down

0 comments on commit 7f65a86

Please sign in to comment.