mirror of
https://github.com/gonum/gonum.git
synced 2026-04-22 16:27:19 +08:00
gonum: clean away old files and fix-up travis
This commit is contained in:
+7
-5
@@ -4,8 +4,8 @@ language: go
|
||||
|
||||
# Versions of go that are explicitly supported by gonum.
|
||||
go:
|
||||
- 1.6.3
|
||||
- 1.7.3
|
||||
- 1.6
|
||||
- 1.7
|
||||
- 1.8
|
||||
|
||||
# Required for coverage.
|
||||
@@ -13,12 +13,14 @@ before_install:
|
||||
- go get golang.org/x/tools/cmd/cover
|
||||
- go get github.com/mattn/goveralls
|
||||
|
||||
go_import_path: gonum.org/v1/gonum
|
||||
|
||||
# Get deps, build, test, and ensure the code is gofmt'ed.
|
||||
# If we are building as gonum, then we have access to the coveralls api key, so we can run coverage as well.
|
||||
script:
|
||||
- go get -d -t -v ./...
|
||||
- go build -v ./...
|
||||
- go test -v ./...
|
||||
- go get -d -t -v gonum.org/v1/gonum/...
|
||||
- go build -v gonum.org/v1/gonum/...
|
||||
- go test -v gonum.org/v1/gonum/...
|
||||
- test -z "$(gofmt -d .)"
|
||||
- if [[ $TRAVIS_SECURE_ENV_VARS = "true" ]]; then bash ./.travis/test-coverage.sh; fi
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
"The ideas of science germinate in a matrix of established knowledge gained by experiment; they are not lonesome thoughts, born in a rarified realm where no researcher has gone before."
|
||||
|
||||
Seth Shostak
|
||||
@@ -1,9 +0,0 @@
|
||||
package gonum
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestTheMatrix(t *testing.T) {
|
||||
if theMatrix != -1 {
|
||||
t.Errorf("Bad constant value")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user