forked from Warchant/iroha-pure-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 2.01 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: required
services:
- docker
addons:
apt:
packages:
- docker-ce
language: java
jdk:
- oraclejdk8
- openjdk8
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/"
env:
global:
- secure: hpcohpbARoBxQkhL+ZcznYOJjAkengtE/RWs69EGxmGLH97kQDLgmGQYs+FUyxVOOo/Uf+OSkuGjqriwpeOz/9E5MEKGpkPFv9kf3QSUbizaIZzoEjk5zQtCU3f5tkmIl7wBOh0VBDMg3glN50lSf7luhui9L1e7z9ihguo1i+Plu7AdmUjWIuSByrc8MHkHXztxkvBib2nIQAPyLBituaZOCpzzyzAdYVEsA+tbqVbNW/dNGFG+ED8OGFS/uOzT7J+AapOGOwd9mQxVUZ89epf25ZbB+W3Min6ZIWPPhaC2M7OMmghgwuN3c2uNFXkJ3JLoBkJeJxg29blJCg5cg5Oy67YjsP1ScWJ5l64hBdWf3OmP0Xv4h7Sm3XRswDYM5X9HaO2NUOKn+TFc3bpv7HgmLv75R74M5RRX0jlAiupMev0s4Ap47eeJXCStWLqIBhdC2PiJoBsxVL2EgHjCwzCGcY45D3e7kLl057qFVMswggsxxpfZLM+y6mjkhtsE/ZUExUsIEEpQpHOW5SCs563O1PhW21xuIko/ALE8Lc7mAU0UDuLc3B+OMMXjqUG7MUR+WlOZqbzUi87sg408afXjjiCmQTmyD3uI5wDxwWtsqWlTn2kFVPmX9uVqRXm+mnXfafapsGyISXlBXt/S/c/22SLlSY0cWc7gcBkMP0c=
- secure: Nm7epkRrc8oocEYf8HKcqoby64CpKx43lHFikKA6sHJm8aOKC8FvHouNhLmTro102F80Z+6Vd7cRaC+dKHP9f7MUtO3B+WYILJY0sYJCCKvWPfEpeiMjrRhaLeTFxImo7TMD37ayFWzZyv56LDsdB2V2E1B86aYeVGDMwCxtfUkZlNPtgMXpo6fH2v+KX9um1XzEvx1hH/NoS5ozS7dFxSmcgfMVkcpANAFWr7kdd+KmJjbj4zevdC/E7XSB8tAGrK2TI1nteQNyOuA8mjXIkduWizPR7Vf8IboKntq8orYHiQSFP9j7X+S4FXdK8yTkhW5NzepmNK9DMjM5OS4XCvLnUaY3vpnc2E0Zv6dlx7Ixb1Lgsxr2LqUlegJxfd62bk8FmlGs3borpxd5iqln8/5Q8NLNsqIYXTTgNHULxV9mee0dsfMaQKHahEBMywRsA/klIelKGCzjy9B7u3dy+n778RB20GFzgIw1tLj68STvmnEHBfI2BsbitExLIiQxGDoBDWd5GxTom/HXEA/CLZophGOI1mp6oGGr8izCx1JtOjzMM+X6fc1f5sSGQVhJiq1HrWR8x986jFPWQpk+SjG5nkbF8BKS08Gi3wbUOJ0o2G7GnQBwpA0j8fntrVoqz9+gFWdXcOpwm/IfN3NZSdqU7ZUHO11PE0tS0bNjs80=
script:
- "./gradlew --daemon"
- "./gradlew build -x test --parallel"
- "./gradlew test"
- "./gradlew jacocoTestReport"
- bash <(curl -s https://codecov.io/bash) -t ${CODECOV_TOKEN}
after_success:
- "./gradlew sonarqube \
-Dsonar.organization=soramitsu \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=${SONAR_TOKEN}"