From a6fe3284289b74929421a2a25aa9fd5290df78c6 Mon Sep 17 00:00:00 2001 From: Alistair Johnson Date: Sun, 24 Apr 2016 18:37:54 +0200 Subject: [PATCH] Move coverage away from bash --- .travis.yml | 3 +++ scripts/travis-publish.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b56b245cde..e6c9fd8867 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,9 @@ language: scala git: depth: 9999 +install: + - pip install --user codecov + scala: - 2.10.6 - 2.11.8 diff --git a/scripts/travis-publish.sh b/scripts/travis-publish.sh index 360f11eda4..ca96a2c817 100755 --- a/scripts/travis-publish.sh +++ b/scripts/travis-publish.sh @@ -27,7 +27,7 @@ fi sbt_cmd="sbt ++$TRAVIS_SCALA_VERSION" -coverage="$sbt_cmd coverage validateJVM coverageReport && bash <(curl -s https://codecov.io/bash)" +coverage="$sbt_cmd coverage validateJVM coverageReport && codecov" scala_js="$sbt_cmd macrosJS/compile coreJS/compile lawsJS/compile && $sbt_cmd testsJS/test && $sbt_cmd js/test" scala_jvm="$sbt_cmd validateJVM"