From c82e7ee1d46a67f686f1d00aa35e7594b31022d5 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Sat, 25 Aug 2018 13:49:59 +0100 Subject: Add codecov.io Split runs into lint/test Remove go 1.9 - coverage does not work with `./...` and go 1.9 --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 5b4aaa3..50ddc92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,12 +3,12 @@ services: - mysql env: - - MYSQL_TEST="true" + - SUITE=lint + - SUITE=test go: - 1.11.x - 1.10.x - - 1.9.x - tip matrix: @@ -25,4 +25,7 @@ install: sudo: false script: - - make test + - MYSQL_TEST="true" make $SUITE + +after_success: + - bash <(curl -s https://codecov.io/bash) -- cgit v1.2.3