This repository was archived by the owner on Jul 30, 2024. It is now read-only.
File tree 3 files changed +18
-6
lines changed 3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change
1
+ coverage :
2
+ status :
3
+ project :
4
+ default :
5
+ threshold : 5%
Original file line number Diff line number Diff line change @@ -17,9 +17,15 @@ install:
17
17
git clone https://github.com/nvm-sh/nvm.git ~/.nvm &&
18
18
(cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) &&
19
19
source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
20
+ - pip install --user codecov
20
21
21
22
script :
22
- - sbt ++$TRAVIS_SCALA_VERSION scalafmtSbtCheck scalafmtCheck test:scalafmtCheck current/doc core/doc test
23
+ - sbt ++$TRAVIS_SCALA_VERSION scalafmtSbtCheck scalafmtCheck test:scalafmtCheck clean current/doc core/doc coverage test
24
+ - if [[ "$TRAVIS_SCALA_VERSION" != 2.13.* ]]; # Primary support is 2.12.x
25
+ then
26
+ sbt ++$TRAVIS_SCALA_VERSION coverageReport coverageAggregate && codecov;
27
+ else echo "Skipping code coverage reporting on 2.13";
28
+ fi
23
29
24
30
before_cache :
25
31
- rm -fv $HOME/.ivy2/.sbt.ivy.lock
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 0.6.28" )
2
- addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.0.2" )
3
- addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 2.5" )
4
- addSbtPlugin(" com.github.gseitz" % " sbt-release" % " 1.0.11" )
5
- addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1.1.2" )
1
+ addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 0.6.28" )
2
+ addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.0.2" )
3
+ addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 2.5" )
4
+ addSbtPlugin(" com.github.gseitz" % " sbt-release" % " 1.0.11" )
5
+ addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1.1.2" )
6
+ addSbtPlugin(" org.scoverage" % " sbt-scoverage" % " 1.6.0" )
You can’t perform that action at this time.
0 commit comments