1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-20 10:39:19 +01:00
eclair/.travis.yml
araspitzu 604fd3170f
Add bot support for code coverage (codecov) (#982)
* Add scoverage-maven-plugin dependency

* Update travis build to generate a scoverage report

* Add custom codecov configuration to have nice PR comments

* Add badge for test coverage in readme
2019-05-09 11:42:38 +02:00

28 lines
550 B
YAML

sudo: required
services:
-docker
dist: trusty
language: scala
scala:
- 2.11.12
env:
- export LD_LIBRARY_PATH=/usr/local/lib
before_install:
- wget http://apache.crihan.fr/dist/maven/maven-3/3.6.0/binaries/apache-maven-3.6.0-bin.zip
- unzip -qq apache-maven-3.6.0-bin.zip
- export M2_HOME=$PWD/apache-maven-3.6.0
- export PATH=$M2_HOME/bin:$PATH
script:
- mvn scoverage:report
cache:
directories:
- .autoconf
- $HOME/.m2
jdk:
- openjdk11
notifications:
email:
- ops@acinq.fr
after_success:
- bash <(curl -s https://codecov.io/bash)