Skip to content

Commit

Permalink
ci: bump travis, appveyor and module versions
Browse files Browse the repository at this point in the history
Also remove redundant Go version build tag.
  • Loading branch information
kortschak committed Aug 16, 2020
1 parent b5dc215 commit ccfe840
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ language: go
# Do not move these lines; they are referred to by README.md.
# Versions of go that are explicitly supported by Gonum, plus Go tip.
go:
- 1.15.x
- 1.14.x
- 1.13.x
- master

os:
Expand Down
23 changes: 10 additions & 13 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
build: off

image: Visual Studio 2019

stack: go 1.14

clone_folder: c:\gopath\src\gonum.org\v1\gonum

cache:
- '%LocalAppData%\go-build'

environment:
GO111MODULE: 'on'

branches:
only:
- master

environment:
# Do not move these lines; they are referred to by README.md.
# Versions of go that are explicitly supported by gonum.
matrix:
- GOROOT: 'c:\go113'
#- GOROOT: 'c:\go114'
GOPATH: c:\gopath
GOTOOLDIR: '%GOROOT%\pkg\tool\windows_amd64'
PATH: '%GOPATH%\bin;%GOROOT%\bin;%PATH%'

build_script:
- "%GOROOT%\\bin\\go version"
- "%GOROOT%\\bin\\go get -v -t ./..."
- go version
- go get -v -t ./...

test_script:
- "%GOROOT%\\bin\\go test ./..."
- go test ./...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module gonum.org/v1/gonum

go 1.13
go 1.14

require (
golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2
Expand Down
2 changes: 0 additions & 2 deletions version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build go1.12

package gonum

import (
Expand Down

0 comments on commit ccfe840

Please sign in to comment.