-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
27 lines (27 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
language: java
jdk:
- oraclejdk8
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/"
before_deploy:
- export GRADLE_BUILD_DIR="build/libs"
- export TAG=$(git describe --abbrev=0 --tags)
- export MOD_TAG=${TAG#"v"}
- export RELEASE_PKG_FILE="${GRADLE_BUILD_DIR}/Krigings-${MOD_TAG}.jar"
- echo "deploying $RELEASE_PKG_FILE to GitHub releases"
- gradle -PprojVersion=$MOD_TAG build
deploy:
provider: releases
api_key:
secure: ovDxve/tT2163lPWf2qhxVtIZjR+8H8KaZV0boxQKrrjMTDlp6I6bpXDTVQZq12LQRtKTs9vNRd4nlNm6Wp+Wta6qtZi981P6EuqEDFsMRK9+eppkjQTnPSrRf0fYYL81QgAXBNaIYSJWLJ+k7Ou28Ikyb+/3QWFifkFTbo+LgU6MVE5lUJCsMOn0q2cPiWacvvgL51O6ZkEz5IAB5XxWFxCQdvdn6ExZxBOM3OiA8dGKRruNtXpI3qgREz219qrUJZhDxA2ATlWGKnobIK8b0/flhT7Xm84RVRWWabYB9zNhSO06o/BJsXvVTmt/+f3hITN3Ga/A0DG5IvZ9eOOPA0EpR2s/XLmenNCHLqHxzkMJd6AueA0VQVXPDE87sL7lsnvwaFHFiBZ91/K1zUZZRnIoy46351rlsvj/7J6+ge+tpm1FwFdycDjgOApkBavGmaZxtL3Y/nJ4QFW8ioVWA/eTZ4EfPFBFZJTsrO4N1+1Kt9MZeFpFcgNgHz8/lgcZtL/yIdCM08OnQkn/SxdjklIBpLjGeoeAzPTjsROfCw56b94RbFLdZpD1qH7zEGTcNiWqrYOuCYZL9XU0fFtvvG4vy9LmRR+orlnVqB1tdPE4V50Kvk4WxfSvUhvJ9FS1tQmIByBiKICIKYD2YLyXWcYMms2l7vfUxcLvtglUk8=
file: "${RELEASE_PKG_FILE}"
skip_cleanup: true
on:
tags: true
all_branches: true
repo: geoframecomponents/Krigings