-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
21 lines (16 loc) · 703 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: java
jdk:
- openjdk8
branches:
only:
- master
- development
before_script:
- cd project # enter Maven root directory
- ls -la # this command just prints the contents of the current working directory.
script:
- mvn clean package jacoco:report coveralls:report cobertura:cobertura
# the coveralls:report is required only for the coveralls coverage service
# the cobertura:cobertura is optional only for advanced coverage reporting and, if exists, is used by CodeCov
after_success:
- bash <(curl -s https://codecov.io/bash) -t 1036eb64-2d96-44c6-b132-0dde4e7dfcca # replace the 1036eb64-2d96-44c6-b132-0dde4e7dfcca with your repository's token obtained by CodeCov