-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
53 lines (36 loc) · 1.54 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
language: java
sudo: false
matrix:
include:
- os: linux
dist: trusty
jdk: oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
before_install:
- if [[ "${TRAVIS_OS_NAME}" == linux ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; fi
install: true
script:
- ./gradlew check
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
- rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.bin
- rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: releases
api_key:
secure: "fg7KBZZZBmncn1oRwwT79UOPamOwk4KjPWehLrERZd4VHwFBjht3kq5hQ1pp1OEtHtCI/QZJ4CRpoI5c5xzYKRc42qfPcKCXiuiuOeRf0XRy5A9iAFAi5uc+WJS778uLxj+3OaCBHYgiCdZ4ddnAwu8VlNnbsU3XJMJ2CvAOAr3SUm96N5M/fy1pBkkTgYBtmcEd6QHfesnKnsHUtbqXqZZQZh62YN/2ATMyvr67Ulu5Cq5P3ZvZxlBeb89CgYInwn3KnuwygDmQZKJM7Hi3Sf9ITwXqJ0LvCV7eaplYICeX6LdFGYwgtwk3pHd9tmthHQ22+2DxUmWCQXI5kTS9+0sNR3+Rrg7n73cti2NaQLu5ZOwv+KmHlO9+3MxDJk9MBjNMfZq5/dd5vHfHLMTwftiordhiN7lnZ+/3b8CT0odulJ0sGh5CqcfkmmHcyukUm7pUKBxH1HbisjwTYQk8rd2hs0Uooaobr3759GxiR26Bk4OzXvSNW4wCM3INQIJAgbH9UbpPN7ubtxm93mWYBgM2cik8otXr4aZmLsjqNffo/qih576LtfsiWWv+hxtAup4cKU777Z3m0v25Tws14pm4QSKE1X6A4H3ax8DxSRMAk5/4TRSMr8GG3eSKNhE5ohhK4deJUSeN8q6zK/6+xkzcOrjwuFffkv1VjKho1sE="
file: 'build/libs/BullsAndCows-5.0.4.jar'
skip_cleanup: true
on:
all_branches: true
tags: true