summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml16
-rwxr-xr-xtest.sh12
2 files changed, 8 insertions, 20 deletions
diff --git a/.travis.yml b/.travis.yml
index 2fae945..6ba8d86 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,16 +1,16 @@
language: go
-sudo: false
go:
- - 1.11
+ - tip
+ - 1.12.x
+ - 1.11.x
- 1.10.x
- - 1.9
- - 1.8
-
-before_install:
- - go get -u -t ./...
script:
- - GO111MODULE=on ./test.sh
+ - go test -race -coverprofile=coverage.txt -covermode=atomic ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
+
+matrix:
+ allow_failures:
+ - go: tip \ No newline at end of file
diff --git a/test.sh b/test.sh
deleted file mode 100755
index 56bfcf1..0000000
--- a/test.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-echo "" > coverage.txt
-
-for d in $(go list ./... | grep -v vendor); do
- go test -v -race -coverprofile=profile.out -covermode=atomic $d
- if [ -f profile.out ]; then
- cat profile.out >> coverage.txt
- rm profile.out
- fi
-done \ No newline at end of file