Skip to content

Commit

Permalink
Enable mc build tests on go1.9 (#2276)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana authored and deekoder committed Oct 16, 2017
1 parent 26c7c3e commit 582f99b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ os:

env:
- ARCH=x86_64
- ARCH=i686

go:
- 1.8
- 1.9.1

script:
- make test GOFLAGS="-race"
Expand Down
8 changes: 3 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/checkdeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 582f99b

Please sign in to comment.