diff --git a/.travis.yml b/.travis.yml index dc9b320..bdff62f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,14 @@ git: depth: 1 -language: go +os: osx -go: - - "1.12" +addons: + homebrew: + packages: + - go@1.12 # Currently the default Go version on the macOS build server is 1.10 + - upx + update: true env: - GO111MODULE=on @@ -12,7 +16,6 @@ env: before_install: - go version - go env - - sudo apt-get install -y upx-ucl script: - go build -v @@ -21,6 +24,8 @@ script: - ./serve -h - ./serve -v - ./serve -t - - build/artifacts/serve_v*_Linux_x64 -h - - build/artifacts/serve_v*_Linux_x64 -v - - build/artifacts/serve_v*_Linux_x64 -t + - VERSION=$(