Skip to content

Commit

Permalink
Merge pull request #190 from carolynvs/tweak-ci-build
Browse files Browse the repository at this point in the history
Tweak CI Build
  • Loading branch information
carolynvs-msft authored Jan 1, 2019
2 parents 0d08443 + 03808fe commit eea28e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
language: go
go:
- 1.7.x
- 1.8.x
- 1.9.x
- tip
- 1.11.x
go_import_path: github.com/howtowhale/dvm
git:
depth: 9999999
sudo: false # Run in a container
script:
- make test
- make cross-build
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ SHELL := /bin/bash

COMMIT = $(shell git rev-parse --verify --short HEAD)
VERSION = $(shell git describe --tags --dirty='-dev' 2> /dev/null)
BREW_VERSION = $(shell git describe --tags --abbrev=0 2> /dev/null)
PERMALINK = $(shell if [[ $(VERSION) =~ [^-]*-([^.]+).* ]]; then echo $${BASH_REMATCH[1]}; else echo "latest"; fi)

GITHUB_ORG = howtowhale
Expand All @@ -20,6 +21,9 @@ GOFILES_NOVENDOR = $(shell go list ./... | grep -v /vendor/)

default: local

homebrew:
brew bump-formula-pr --strict --url=https://github.com/howtowhale/dvm/archive/$(BREW_VERSION).tar.gz dvm

validate:
go fmt $(GOFILES_NOVENDOR)
go vet $(GOFILES_NOVENDOR)
Expand Down

0 comments on commit eea28e4

Please sign in to comment.