bump go version to 1.9
This commit is contained in:
		
							parent
							
								
									846d919235
								
							
						
					
					
						commit
						4bc2284b57
					
				|  | @ -3,7 +3,7 @@ dist: trusty | |||
| language: go | ||||
| 
 | ||||
| go: | ||||
|   - 1.8 | ||||
|   - 1.9 | ||||
| 
 | ||||
| before_install: | ||||
|   - go get github.com/Masterminds/glide | ||||
|  |  | |||
							
								
								
									
										3
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										3
									
								
								Makefile
								
								
								
								
							|  | @ -2,9 +2,6 @@ | |||
| 
 | ||||
| BINARY ?= postgres-operator | ||||
| BUILD_FLAGS ?= -v | ||||
| ifeq ("$(shell uname)", "Darwin") | ||||
| BUILD_FLAGS += -i | ||||
| endif | ||||
| CGO_ENABLED ?= 0 | ||||
| ifeq ($(RACE),1) | ||||
| 	BUILD_FLAGS += -race -a | ||||
|  |  | |||
|  | @ -4,9 +4,12 @@ build_steps: | |||
|         apt-get install -y make git apt-transport-https ca-certificates curl | ||||
|     - desc: 'Install go' | ||||
|       cmd: | | ||||
|         add-apt-repository ppa:longsleep/golang-backports | ||||
|         apt-get update | ||||
|         apt-get install -y golang-go | ||||
|         cd /tmp | ||||
|         wget -q https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz -O go.tar.gz | ||||
|         tar -xf go.tar.gz | ||||
|         mv go /usr/local | ||||
|         ln -s /usr/local/go/bin/go /usr/bin/go | ||||
|         go version | ||||
|     - desc: 'Install Docker' | ||||
|       cmd: | | ||||
|         curl -sSL https://get.docker.com/ | sh | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue