Merge pull request #78 from LemADEC/TravisExperiments
Builds are automatically uploaded to the defined server
This commit is contained in:
commit
3c121e3e3c
1 changed files with 9 additions and 3 deletions
10
.travis.yml
10
.travis.yml
|
@ -3,11 +3,14 @@ jdk:
|
|||
- oraclejdk7
|
||||
- openjdk7
|
||||
- oraclejdk8
|
||||
env:
|
||||
global:
|
||||
- FTP_USER="khazaddum.caltech.edu|warpdrive"
|
||||
- secure: rnP6qHsQDukvZt1BeWLcK4DetcqzfmP2cRUYlNYk6lpGpgiIRP0RE4MbHJGgR0HNG93pIRcxjH7hHXKY1tbLZT7CBQBZmpAB7pTBPP1udmv7hV43vuoq5G8jYNO9lPqbFnREnM9/1b+REWfkedREenrPpbMdnIGukrYPxKJeh9UPRNrExIuBdVYCiGgleST3YrBtrWadRqRLB7I7YjhhcnxAtMG8SSea1r0tFBdD+XMeST7XBX3WPrMEfUDICpFJyReCAIKdDwJj2tgjHrWH7+h2jp6KljmRuS69Ody6ClhJ6Lsj3d+3yVAV2aqQDCxkBYqJA5bSq0rdOg8jn0qY9OD3rJtxzaZchfwXsEovs1KK2vJDEzti0zJOVm2W9ZB/KGawvD+bOnAsioOq3L4+HFJ9HfaU6gds0MvozdjydyWBWk+P1RiCdYLBOzKo4Z/LiD4KHvw9colQuJ+41mijWt7p3DQ2ijB/NrfbuBhGkRp3d1vcxLTKhTh3Q2eyqnhYgVlLyGmCVFqIsW18mXlnh5b/EptIpV9oLv3bz1MFjZtbl4p9mOaxK+nkvDV4yXgigmFAH5se/gmpKfj7wXacIdvyiQZmsBOK1sUpQAlf/kOueuJd0WXnVInZqnrjj2/JHCbb43zVb9iHd9NgHL1HkhPwdd+FDWk1LLPJMf+1PNk=
|
||||
before_install:
|
||||
- chmod +x gradlew
|
||||
before_deploy:
|
||||
- export RELEASE_FILE=$(ls build/libs/*.jar)
|
||||
- echo "deploying ${RELEASE_FILE} to GitHub releases"
|
||||
- echo "deploying ${RELEASE_FILE} to GitHub releases"
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key:
|
||||
|
@ -19,3 +22,6 @@ deploy:
|
|||
branch: MC1.7
|
||||
tags: true
|
||||
jdk: oraclejdk7
|
||||
after_success:
|
||||
- export RELEASE_FILE=$(ls build/libs/*.jar)
|
||||
- curl --ftp-ssl -3 -k --ftp-create-dirs -T ${RELEASE_FILE} --user $FTP_USER:$FTP_PASSWORD ftp://khazaddum.caltech.edu/warpdrive/files/${RELEASE_FILE:11:-4}.${TRAVIS_BUILD_NUMBER}-${TRAVIS_BRANCH}.jar
|
||||
|
|
Loading…
Reference in a new issue