-
Notifications
You must be signed in to change notification settings - Fork 45
/
.travis.yml
38 lines (29 loc) · 1.28 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
jdk:
- oraclejdk8
notifications:
slack: pokemate:tLifbcDVbHB5N6BXiDuiTd7D
branches:
only:
- master
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/"
script:
- ./gradlew check
after_success:
- bash <(curl -s https://codecov.io/bash)
before_deploy:
- ./gradlew fatJar
deploy:
provider: releases
api_key:
secure: g6DNRUNzMyAqC+Do3X3Fil0lwrkKXTS4kQFj6GGvckXsPDAYFqatVMI7CY4Dho1AtFBkwYBkr83XncNi59AjolfkGkxa0oIgwyhZWh2GRLYYNrL2ewBLaoiTRLhruc4wOS6u/GkOD+W6FnuDbfIzRco+byHnqMrFEEgkKMFxOMJnB4FZeaGg/gCGzGwP/R6eU29R0VYduyXXmfTPHOTgcEK/tG4uo50umC1df/L0N7ptoAhkMAicws+K/BbcShYdGJdG0brmC5rHmgEwRNt/pGpQjDgAMb+yNmPqtS6FKMvuAjfT6l1HVtZuuz/QNWYcwKma+4GG1tFFX3y+k0yCaRnmOyV5RFT98l29aOG7rL/UbIFgjPTQhbmTpQ4cCV3WR8aJbKsnVkCWqHd7nA6OsVDsxn2f0r3tYjmXGvdbYgxa6hFGcWKVwyTf7KS5uAQQORFufYb/IGN+0sJwvhghwdsHoXDThU7QjqAfMxRwiFaFrzAU70GGunVQ0rCDUdXRcSemezinHfdSlcnggE9d5b7OZ5BVDzzzgMS0v/DX3xj4vomPLKgAJTQabLeP8WDGExOsWw9S8gKa7UbTS6vbzsJNpxZS2C5OwpJS+iiN5Iz3X5Tdb1yOKkECcdbOpFAPDY3egeX6PO3eNGKcf7aP6VviKviesT4iYMmv3SYsKK8=
file: "$TRAVIS_BUILD_DIR/build/libs/pokemate-all-${TRAVIS_TAG}.jar"
skip_cleanup: true
on:
tags: true