forked from ChargeTimeEU/Java-OCA-OCPP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (24 loc) · 875 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: java
before_install:
- chmod +x gradlew
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/b53783164e024ebb35d3
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
jobs:
include:
- stage: test
jdk: openjdk8
script: "mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent test org.jacoco:jacoco-maven-plugin:report org.eluder.coveralls:coveralls-maven-plugin:report -B"
after_success:
- bash <(curl -s https://codecov.io/bash)
- stage: integration
jdk: openjdk8
script: "mvn integration-test -B"
#deploy:
# provider: script
# script: "cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy"
# skip_cleanup: true