-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (45 loc) · 7.73 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright (C) 2020 Atos Spain SA. All rights reserved.
#
# This file is part of the FAIR4Health Gateway.
#
# This file is free software: you can redistribute it and/or modify it under the
# terms of the Apache License, Version 2.0 (the License);
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# The software is provided "AS IS", without any warranty of any kind, express or implied,
# including but not limited to the warranties of merchantability, fitness for a particular
# purpose and noninfringement, in no event shall the authors or copyright holders be
# liable for any claim, damages or other liability, whether in action of contract, tort or
# otherwise, arising from, out of or in connection with the software or the use or other
# dealings in the software.
#
# See README file for the full disclaimer information and LICENSE file for full license
# information in the project root.
language: java
sudo: false
cache:
directories:
- "$HOME/.m2"
- "$HOME/.sonar/cache"
env:
global:
- secure: "THDpwRhw6/ZmMjuX+a9Xt4aVgympzcP49cOBSfsmPJ06PKfgCrq6iJLetWAIW4gJZMo7JiCKNM4BvE6brRBpaQN/7xgXj1flf0eds/BFQwkqUoeiL1ORlMtcIlJvAHZCs4v9VMRlCFR2byUiyFIY6z/XZ9dqded2kWM4q3dE6ztELLKLKU4N40FMqmTDGDwTq7FBDeVX5GTAPcpnKP2/EwTZF7v6SXImcnGdQ/Q26D5lO2PzvzoKg233AH3qkoq6eevDjU50QHT4TJYJ+bQi33MD6///ED/ATX3h/KZq7VZpZ3CreIZSwrlvt84tuzgs5BD7k1G0dVml2NBwAwOPXKU+ab1ZnfGrwXjKVfEvel+/3E18dXhN95oVrb6kob7+L4I+FflRiK6DrZ9LXCGqWVYJIM3srj27luPtl/lae83X9AGSSGkvxwD65DB9YhKFVsndXQR8olUMf+e2yIUEGsgCsdf9WQxUotIqbFU9YabFpuZ8J9zUQO1TsC9FU1qUhEeC5qU8mXSoisdiJP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Y="
- secure: "PVg+xeLAq0nBtQKoSW3DYk8wxRHcn8qDDXORyhGgKRyV/eoWxYft11aBJpUo16wYGWk2xPl0no8zriHAO8uc0RJ1LmUW3qp+QJD0hGf3zdl2+6Tal5LqPZgM+j1nY3ApW3v7DdH/tyKbwPuCEPMhhCnCEb+qWXS+RaK7l0V8uFF2vtd9dz1Fr5q9Pti1asHzcg/kRNWE+Fc9pmOCWFKzLq+vKbA3FkMRRViZJ48/sbH3zpkm09L+11xefHBnuMfNsAMffkyKD2ybLi7DvhFvNTphoTkvPD7syHELnQe2SQ425QE11vcDWNm7zegL27gLtjYk1vXjToGJopwA+Sr9YZousDg5E55nOHGFo9M5tw9MIB/eA181odSu48g9uz0I5dcGVMS2aN7011evKMAL5ZQFqWfnwsc+cEBobWIjw2jGL/xdCq3CR/EILQ6LdptIyDRv3r0iAvhgxwABxTzJMGZHbi1kg3xXCzms2qNNVt/kpKnI5Gog7VyEIdCOhx0w64EVaD3PqIKAdva95JGLv7C0K0LEcJKgY6qIFfHAWvyNINqGUXUMI0FMzOgZSyuoPGMGEyveJB9J+CrgLzG1dJaEsyMFt/H/BijQIJmgewyeuVY7qFn1CFjTiJyzN3vrYe0MFI6/D+P0xZ5+207RuY5ggztHOSNZrBGmfL/OhyE="
addons:
sonarcloud:
organization: "fair4health"
token:
secure: "ccSjXmvUVFVUZmil93RnQleavlR43yceW73oPy97L6JjQSGqh3HCYIPQXVpuBtZlSti9kDv4uV9RGFEr0Q1w1T7CCK42lrC2cBatzSqbKa2x27AQg/7hbjOZFKlCz5p3i+6WTuOjl5g5cLsuS92BRcnEsHbdd6U/AeCKjIv2t0D0RZWn33fkCdttxM6RJtasdNX3XSrsmAIoZ/Yn054PxCHBwTkpzICiEwXb5qhfX+vcIXxEov5wCbOhIzi5+koXca487cYeJ0DMsJ0bMzK4GtITH56Ghw6+QvrbB20nXneIg5hG+H+qcdQmpsiadBQNnFz0hiFfBWdZhJ9FVVmCqebcTc+k8pXdNUdwwx5+Mg6lqRQ7HVDZzaHDhTMjL7p5swQpIbhVV8ctrIVVfgIoq7T20pIxh/Wx35rbpnVGI/+JQTclAXfLp51cfQLn04VuQNcMhnaboH76sRco7TgIQBoAcpnQLUwMOkpLW85SQcB6zpo5Es/KKcu6g3qnHfEDYVNa0YseD/m8DcU9C4uWAcXpUcL3Z2K9OAat8iNiBlETQfLJHxNC2f+DVUaMsu0JGfZxtccCzsSDf9I8PF/0ywR/j5LKfgqTE3pd/jz4Vb4wa+9o9Kja1g5STDmJ55OyduQJ+dZgVDe041AssEAZGaXRi4hBpuWraymJ583A/WU="
script:
- if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then mvn clean test; mvn package -Dmaven.test.skip=true; fi
- if [ "$TRAVIS_BRANCH" = "master" ]; then mvn clean test; mvn sonar:sonar; fi
- if [ "$TRAVIS_BRANCH" = "release" ]; then chmod +x .travis/prepare.sh && .travis/prepare.sh; mvn -s .travis/settings.xml -B release:clean release:prepare; git push --tags; mvn -s .travis/settings.xml -B release:perform; chmod +x .travis/push.sh && .travis/push.sh; fi
after_success:
- bash <(curl -s https://codecov.io/bash)