Updated Travis.yml and test procedures in common

This commit is contained in:
Ryan O'Hara-Reid
2017-07-28 16:39:36 +10:00
committed by Adrian Gallagher
parent 26b840597b
commit 6afaefa5bf
2 changed files with 5 additions and 6 deletions

View File

@@ -1,14 +1,14 @@
language: go
go:
- 1.7
- tip
go:
- 1.8.x
- master
before_install:
- go get -t -v ./...
script:
- go test -race -coverprofile=coverage.txt -covermode=atomic
- ./test.sh
install:
- go get github.com/gorilla/websocket
@@ -18,4 +18,4 @@ install:
- go get github.com/gorilla/mux
after_success:
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -s https://codecov.io/bash)

View File

@@ -558,7 +558,6 @@ func TestExtractPort(t *testing.T) {
}
func TestOutputCSV(t *testing.T) {
t.Parallel()
path := "../testdata/dump"
data := [][]string{}
rowOne := []string{"Appended", "to", "two", "dimensional", "array"}