-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
34 lines (34 loc) · 1.41 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
sudo: required
language: Java
services:
- docker
jdk:
- oraclejdk8
before_install:
- pip install --user codecov
after_success:
- codecov
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
before_deploy:
- git config --local user.name "Jacek Spólnik"
- git config --local user.email "[email protected]"
- git tag "$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)"
- "./gradlew releaseZip"
deploy:
- provider: releases
api_key:
secure: wuiTMrVXxdFCvxOLBmPGCFSEADqNcrLSZ/gKe6uOKJP5E0tBLPMp39a/XpNMZQImDfAWa+Q3+uHEy6efszZxyuJ82yBTnek9rxLVkBq4z2N8uYJYY5g/XC6aIbwYSTivkqpSMjeEHPp6rELgaYXwXFlGQjOh6mE0R+PVW6UVEVTQX1gaeLLcbOCvBR74bUk8H8fGuyafE6XrChz23x1Ar4yrPlU1AwY6+PUlAuVlH9YPX6Lhlb7CD7+8cY/40wlSS1w+15y4lOg9qlgZabc0GqI2Vv57jvLEuJ49kgXG1qvZtXg8BPyo99F9yCtR6Su7k9v1x3Cq1P5bBmsGNJVC9kNtlDdkHi7kPXhOGJfNzvYx61jiE12Y9VHmvOBWBjYro5GfIh0jLWFwTzbJgfA8e7DMT8LPTxz7u7Y5Sdzeb1vr/tVw4c8WZi+4YzDn1yubNG/vqJvViqA4ZMrUTpSyremI/L5xEPjikCdIz8rybQEwuO3bwtE2to1nm+LoknXiVbdrvD+2yGHbUjeRBcHckcLzSS60o9/G8rhEaJCVsuSAd0BsUQv9y7oH7ooYAcU053SmgGVd+FOESxeTF7N5Z4Pzm7EpynirqE4J7BowklgrKgbRbBz7oi9wNIA3Y3tRHVsqzHByIdvcP7SBLJo2IylVfNvneEN21CyYHEWyFhc=
file_glob: true
file: "./build/libs/JAlgoArena-Auth-*.zip"
skip_cleanup: true
on:
tags: false
- provider: script
script: bash docker_push
on:
tags: false