2015-08-10 22:27:37 +02:00
|
|
|
language: java
|
|
|
|
jdk:
|
|
|
|
- oraclejdk7
|
|
|
|
- openjdk7
|
|
|
|
- oraclejdk8
|
2015-08-26 00:51:08 +02:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- "FTP_USER=warpdrive"
|
|
|
|
- "FTP_PASSWORD=password"
|
2015-08-10 22:27:37 +02:00
|
|
|
before_install:
|
|
|
|
- chmod +x gradlew
|
2015-08-11 04:37:44 +02:00
|
|
|
before_deploy:
|
2015-08-26 00:43:45 +02:00
|
|
|
- echo "deploying ${RELEASE_FILE} to GitHub releases"
|
2015-08-10 22:27:37 +02:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
2015-08-11 04:29:27 +02:00
|
|
|
secure: IzGBMb7m6y5DgoeNtlcRU4vnfnpULwrLEqbYnrK65mXh8LFR5QXRPcS5qhMctwbl4ZCXxe8BMSUegFo3grRPDQ8m1CJDt6Jh6+GydhQbuf5NtUOFMTrH5s2Ob5q23xXhxJGrQEFCm+a0L9YPDAV234UTOdUZZ6KAow5+E8hVx3PZGFWgFMUmSa/uX0Aqh++FfRMDcWtRtp9r6sth23JCgcO4Ryxohd67OYvFbvhoHBLDG5SpD0iRweY/uLVA/DIZuazdb+grqGocjCpzrh8a/bbUxUF4CbJOiInY2/9EuSgIIC267K5P76UKEAutMtC2/vx/EdHNapTRGjgXCU8FOBkepFZ6Rc97mPxFDvCK0xBIRcftO4f1fs27SS/MkQBaEVqd8wZxuDDcHcX3H2+84VM+9isGBmNdxgz+r5RDnDKcfATg3c2saN4X6Lz/CP4kVjiGb02rwZlS2e8BZIFWi/ahdEJY/IdzfnbfS5S+7hxddbtIOWnNsZ2JLTN0MzJYCCD6IXTloUBmljokQgB1vRY4Xzm7iDeF/yew2Jiuo1JoQI9RVlbBOXY+XobCz93yjeFvhOHIm/1y5wZff5bFO9LAshEwCriD1wjcnpac4qvy/RpRzUKnvUZyGoWdNBq8egrY3EZT7rV0DRFeiXLG6j1BB65LjvlK0wWhadn6Kps=
|
2015-08-11 05:21:05 +02:00
|
|
|
file_glob: true
|
2015-08-11 04:37:44 +02:00
|
|
|
file: "${RELEASE_FILE}"
|
2015-08-10 22:27:37 +02:00
|
|
|
on:
|
2015-08-11 04:29:27 +02:00
|
|
|
repo: LemADEC/WarpDrive
|
|
|
|
branch: MC1.7
|
2015-08-11 04:31:19 +02:00
|
|
|
tags: true
|
2015-08-11 05:33:46 +02:00
|
|
|
jdk: oraclejdk7
|
2015-08-26 00:54:56 +02:00
|
|
|
after_success:
|
2015-08-26 03:10:53 +02:00
|
|
|
- export RELEASE_FILE=$(ls build/libs/*.jar)
|
|
|
|
- "curl --ftp-create-dirs -T ${RELEASE_FILE} --user $FTP_USER:$FTP_PASSWORD ftp://khazaddum.caltech.edu/warpdrive/files/${RELEASE_FILE}.${TRAVIS_BUILD_NUMBER}-${TRAVIS_BRANCH}.jar"
|