Enable mc build tests on go1.9 (#2276)

This commit is contained in:
Harshavardhana
2017-10-15 19:11:38 -07:00
committed by Dee Koder
parent 26c7c3e500
commit 582f99b438
4 changed files with 6 additions and 9 deletions
+1 -2
View File
@@ -6,10 +6,9 @@ os:
env:
- ARCH=x86_64
- ARCH=i686
go:
- 1.8
- 1.9.1
script:
- make test GOFLAGS="-race"
+3 -5
View File
@@ -8,17 +8,15 @@ clone_folder: c:\gopath\src\github.com\minio\mc
# environment variables
environment:
GOVERSION: 1.8
GOPATH: c:\gopath
GOROOT: c:\go
# scripts that run after cloning repository
install:
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
- rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip
- 7z x go%GOVERSION%.windows-amd64.zip -y -oC:\ > NUL
- set PATH=%GOPATH%\bin;%GOROOT%\bin;%PATH%
- go version
- go env
- python --version
# to run your custom scripts instead of automatic MSBuild
build_script:
+1 -1
View File
@@ -23,7 +23,7 @@ _init() {
fi
# List of supported architectures
SUPPORTED_OSARCH='linux/386 linux/amd64 linux/arm linux/arm64 windows/386 windows/amd64 freebsd/amd64'
SUPPORTED_OSARCH='linux/amd64 windows/amd64'
## System binaries
CP=`which cp`
+1 -1
View File
@@ -21,7 +21,7 @@ _init() {
## Minimum required versions for build dependencies
GIT_VERSION="1.0"
GO_VERSION="1.7.1"
GO_VERSION="1.9.1"
OSX_VERSION="10.8"
KNAME=$(uname -s)
ARCH=$(uname -m)