Skip to content

Commit

Permalink
Move to Go 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
otoolep committed Apr 27, 2018
1 parent 0effc04 commit 2922aee
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -13,9 +13,9 @@ If you open a pull request, please ensure the commit history is clean. Squash th
Please avoid using libaries other than those available in the standard library, unless absolutely necessary. This requirement is relaxed somewhat for software other than rqlite node software itself. To understand why this approach is taken, check out this [post](https://blog.gopheracademy.com/advent-2014/case-against-3pl/).

## Building rqlite
*Building rqlite requires Go 1.9 or later. [gvm](https://github.com/moovweb/gvm) is a great tool for installing and managing your versions of Go.*
*Building rqlite requires Go 1.10 or later. [gvm](https://github.com/moovweb/gvm) is a great tool for installing and managing your versions of Go.*

Download, build, and run rqlite like so (tested on 64-bit Kubuntu 14.04 and OSX):
Download, build, and run rqlite like so (tested on 64-bit Kubuntu 16.0 and OSX):

```bash
mkdir rqlite # Or any directory of your choice.
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Expand Up @@ -14,6 +14,7 @@ install:
- if %BUILD_ENV%==gnu set MSYS=winsymlinks=lnk

build_script:
- go version
- go get ./...
- go build -i ./...
- go test -v ./...
Expand Down
2 changes: 1 addition & 1 deletion circle.yml
@@ -1,6 +1,6 @@
machine:
environment:
GODIST: "go1.9.1.linux-amd64.tar.gz"
GODIST: "go1.10.1.linux-amd64.tar.gz"
GOBIN: $HOME/binaries_$CIRCLE_SHA1
RQLITED_PATH: $GOBIN/rqlited

Expand Down
4 changes: 2 additions & 2 deletions vagrant_setup.sh
Expand Up @@ -9,8 +9,8 @@ apt-get install -y curl git bison make mercurial
# Go
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
source ~/.gvm/scripts/gvm
gvm install go1.9.1
gvm use go1.9.1
gvm install go1.10.0
gvm use go1.10.0

# rqlite
mkdir -p rqlite
Expand Down

0 comments on commit 2922aee

Please sign in to comment.