We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf2c24f commit d3baee6Copy full SHA for d3baee6
.travis.yml
@@ -0,0 +1,17 @@
1
+language: go
2
+
3
+dist: trusty
4
+sudo: false
5
6
+go:
7
+ - 1.9.x
8
+ - tip
9
10
+before_install:
11
+ - go get -t -v ./...
12
13
+script:
14
+ - ./scripts/test.sh
15
16
+after_success:
17
+ - bash <(curl -s https://codecov.io/bash)
scripts/test.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+set -e
+echo "" > coverage.txt
+for d in $(go list ./... | grep -v vendor); do
+ go test -race -coverprofile=profile.out -covermode=atomic "$d"
+ if [ -f profile.out ]; then
+ cat profile.out >> coverage.txt
+ rm profile.out
+ fi
+done
0 commit comments