forked from Orange-OpenSource/fiware-ngsi2-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (33 loc) · 1.05 KB
/
.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
29
30
31
32
33
sudo: false
language: java
jdk:
- oraclejdk8
script: mvn test jacoco:report coveralls:report -q
before_deploy:
- curl -O -L https://gist.github.com/marcc-orange/b0dd1078a829d069109f/raw/33ee871e563c407613521fa0f17535ac26007328/BA2F4249.asc.enc
- openssl aes-256-cbc -k "$KEY_PASSWORD" -in BA2F4249.asc.enc -out BA2F4249.asc -d
- gpg --import BA2F4249.asc
deploy:
- provider: script
script: mvn deploy -q -settings=settings.xml -DskipTests=true
skip_cleanup: true
on:
branch: master
- provider: script
script: mvn deploy -q -settings=settings.xml -DskipTests=true -Prelease -Dngsi-api.version=$TRAVIS_TAG
skip_cleanup: false
on:
tags: true
notifications:
webhooks: http://lametric-dev.kermit.orange-labs.fr/travis
cache:
directories:
- $HOME/.m2
addons:
coverity_scan:
project:
name: "Orange-OpenSource/fiware-ngsi2-api"
notification_email: [email protected]
build_command_prepend: "mvn clean"
build_command: "mvn -DskipTests=true compile"
branch_pattern: coverity_scan