-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (45 loc) · 7.74 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 Service Discovery.
#
# 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: "C/O390srWJWKNLpw9YYlr1Soy/a5EGY8F/UkBseGG8+O1998uWbkC3acKEebn3yjleABpcULgClCvF+WvUtPrcKzb7QEb7BqU8J5sQMuDOcVQjbnpRIsv7xx9O5MPm+qfX/Kd8UZGdpOhl6j2IkDbq0StMk5Z55nvsmQ6ZcCEBeXIjaiy/Dzq5f94UCXBi+lolbDUkWpv9M7ifphmfRYGrXq9xke1TSYRdyQQD+S9YlXUhbzrTkgoUgjrNGdoCD8PJSrJxuyDRHyLyFew2iEkaCPJY4I7o0JZbRW9fD+xTWNCPRjunLCp2O4uamodI0Mj7+jrhLiJ8HfqZDYlwHkm/PDWMO7Ee5asumF7AZEYUN3HwxMjECd9VngVD0ZlnC17G7gkukerxfRVusdvdfGmXg/eOAi5tewupBxM8LdbpYoG7RT9mzhp5IW6+kl37fvilbaJi9mlF1zaowZqnp4CnmdT2VIltK34BYN3sHTEwx+yE00grPvZZ1CPFt1qjuf0Uv4jloLJy1rOZ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UmJf/slHhyc44R3dfsT+CvPhMcP+HZr2TA7lYMh+Z2zB2teuPRoJ7PWSbdA8oRM7bdf5ZUQh1ScHXzRpHLgurG0GXmfVtZ04myzpi2fLf5Se7Z9LzS7x8ly1fobi5G3p/vKrj+4JZhxhlYIvusjfdTvafD8HIZW+kZdsN0+mlghVe+/RnydlSQBb480RkyvvnvwOHowa4LbdvEAceNOOhFpO5v/Xf/elfaJ7rJu/01RCncK92V4sUTAgvSJX0fFmnbXhGIrbMt8VedvYR+I1hzJlNh6CjWussWJPpIWrQa3JGuzXl0kA4Oe4KjUEJnXexPKc+tTRg+6uj7mBA="
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)