-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
34 lines (34 loc) · 1.42 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: KPEnlkJr112lrIuYzBahOlx35bdRvCFKp9afaWSqSv5ZwjFbkV8mIvEB+x6yQA9+YR9c1VPtDRvXZbKcZNjlxd7pGe4LKSIYqo+qbbcwH1GL2sUXs8w2tvXcONCALUMe1yOH0s+b4wK8SyoRcUrhkUutxLqVeeq2tm0SiQ5pd09bZ1v/hLMRnYRsUwAJYiC1XgqYbVP3H1bGKlXdKpFLhDj9Dr1S67f47ABXZH9CwKoGIxvZ3/D+LObkQ6Ng/kc+x2aEb0WKCwCffj0aOi5MhPsEGRaB5pLVOX/JdAWpdMg6dnmlhImtUsu346lrf/zGKlqso/TXgaUtN2Cxpg8qYB9Qn8BgA6BXXyONMAeQS6W9ZUM1hrtRdamXDc4SfBcc9hPLWavoGwA7Rfm22Nbp8VsDzEkR2gi3lP+CdoGdy9O/hnDNp2Fx0+ms4/80UsYnpjWwO2QSEs+dFj4EYISvWfeLEkDJojWug+9cAxlIQ8vyv+VXGELgo93z/MxzbhRM3Uy/HfLiSqzdduDIUrqEQ5lSqThHeg84TyuJYYZ4BeZcG7Rug1COzl9f4iwyvcsFoaBSb7AidqtTS30h7ENNKIs8fh6BR/5tjEq0X3GQ8gHZ66fdrEnF08fHL24ptDiA7pNKUD91qpcEYgOxCd7d+RZKDdpZweG/a0ad9SK5r68=
file_glob: true
file: "./build/libs/JAlgoArena-Submissions-*.zip"
skip_cleanup: true
on:
tags: false
- provider: script
script: bash docker_push
on:
tags: false