-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
38 lines (36 loc) · 2.22 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
language: java
install: true
jdk: oraclejdk8
addons:
sonarcloud:
organization: "levry-github"
token:
secure: dIiSEFDK7iJQV6WnsZvmUlODjjBhfn8OFwmCUIVhat4nf0I02Wn4+M8xp5+QfJeed/GBTISUn209jmyKN4rOmzgnyx1KNFVXr8mBt7Ky7O1mW+DdCYY/7zkJm7KW733Gai1G5ziVnM2g/XWFpTUkRY+fwxsI8MmpcFOom10ydrGdWhHbtErcsKRSdR8J6upaufyQjEZul2r8P0FKHOa1zOU7sOVlOOuHc5loWu11SRqmXTEWWyhqJv9PyxAIdOVRQhXJeJkSr3d7XUrnmH3mC6BgE1MZ1JnnktQ2kKFp5moYHwgexeQBCNk2cpj3eVha1Jf7hod7oVrKMssZs+kX0toiFNJqJwAiZ4AveGbMtnzHFUCRDBovN1dTb9cPqp/rD6XCWkCn2jLdfiftGGQPVvlgeJB0sJbuDcxisPBkRWNR91gCMbqhOyotR2Xk2s5DTX8re3fDXzrHD+KM7XQiZMDqOb+MQWlmV6z0F46YuBuUuM+GxUL6oJ/sOCztYyorxjLrrZwsJZBy4mzyPRqaRJ7eINlBs/2h5VZObpH6vkgRZCJvLliWbLCqDQ5IzY+Cxm2H0YkBl81JHYNG44q+uvn64hDk1GQQGgtT9d2L4UHGfifZb8NtmYN1ix97qnyhhEu38DRzMATCnaZmtb0R13jfdeSf7OYoHiRc+MgnsDY=
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.sonar/cache
before_install:
- chmod +x gradlew
jobs:
include:
- stage: test
script:
- ./gradlew :imq-spring-boot-starter:check --console=plain
- ./gradlew :imq-spring-boot-starter:jacocoTestReport --console=plain
- ./gradlew :imq-spring-boot-starter:sonarqube --console=plain
- stage: publish
script:
- ./gradlew :imq-spring-boot-starter:assemble -x check
- ./gradlew :imq-spring-boot-starter:bintrayUpload --console=plain
env:
- secure: BVfMNV5HE1cD+M1YY8Z/mhDDMgOsU3Pbwx2khgKy31+pDp/B3Qs2+/Mhq1UWUgdq7Svn54IF+fVFgaOaZQGTvh6OPDQQLT4v4Uhfz2R+H69Npzv2mxSwEhpuIvFVa9EuxmfdTx20MiTFFq/t5SCFmcPoMxZxXvGDOCdeLLZNf6u/QfDi2gxYi6kU75JiUn/A4zs3VhVGdk1CKYoqw9AiZ70+fA4nKCA2OdQWxRGrM1ZfCqjEHdV/p2Nq1ACjozPMVBIgsWJgPhGeVcHEsyt9ItI0KiNbnBxPqE7+5KVroSI2Tk4tRtGbEZx20W0JAFkjif15yhk6dqqp6DC6BLkfZivoaTBemn8D/wPGauD2JUBSnnCC/HuTDxdu2AT9rwsavkNaSCkyIadfnHUK9WO+MoFc+5BoOIzvJDsx3egkaO9zg1Lfse2MI2EC5u8zOhvV/0+a3kV+uIsRL4PgDQvTADvSspbkQPamM7ZBocjDXOY9W0X6SzD//SOOZ6ULn4uZSg9iqOPWu+9yPj1Rwaa4IQP8ZWz9+Fzu1oIpoNav2FimHjIdocLcFVywLNZJdy0xZh1PHVqCi0NbZdy5zzFU61nHQML+yL5jwicv163vjj5MaDMfxSKpoC+JlCV3KkpKQbFWLm8DsewW5kSI9q4zFIkcDv5RQM03Ebdl25e8iQk=
if: branch = master
branches:
only:
- master
- develop