WarpDrive/.travis.yml

28 lines
2 KiB
YAML
Raw Normal View History

2015-08-10 22:27:37 +02:00
language: java
jdk:
- oraclejdk7
- openjdk7
- oraclejdk8
2015-08-26 00:51:08 +02:00
env:
global:
2015-09-09 23:25:28 +02:00
- FTP_USER="khazaddum.caltech.edu|warpdrive"
2015-08-26 06:17:51 +02:00
- secure: rnP6qHsQDukvZt1BeWLcK4DetcqzfmP2cRUYlNYk6lpGpgiIRP0RE4MbHJGgR0HNG93pIRcxjH7hHXKY1tbLZT7CBQBZmpAB7pTBPP1udmv7hV43vuoq5G8jYNO9lPqbFnREnM9/1b+REWfkedREenrPpbMdnIGukrYPxKJeh9UPRNrExIuBdVYCiGgleST3YrBtrWadRqRLB7I7YjhhcnxAtMG8SSea1r0tFBdD+XMeST7XBX3WPrMEfUDICpFJyReCAIKdDwJj2tgjHrWH7+h2jp6KljmRuS69Ody6ClhJ6Lsj3d+3yVAV2aqQDCxkBYqJA5bSq0rdOg8jn0qY9OD3rJtxzaZchfwXsEovs1KK2vJDEzti0zJOVm2W9ZB/KGawvD+bOnAsioOq3L4+HFJ9HfaU6gds0MvozdjydyWBWk+P1RiCdYLBOzKo4Z/LiD4KHvw9colQuJ+41mijWt7p3DQ2ijB/NrfbuBhGkRp3d1vcxLTKhTh3Q2eyqnhYgVlLyGmCVFqIsW18mXlnh5b/EptIpV9oLv3bz1MFjZtbl4p9mOaxK+nkvDV4yXgigmFAH5se/gmpKfj7wXacIdvyiQZmsBOK1sUpQAlf/kOueuJd0WXnVInZqnrjj2/JHCbb43zVb9iHd9NgHL1HkhPwdd+FDWk1LLPJMf+1PNk=
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 06:17:51 +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-26 06:17:51 +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 06:17:51 +02:00
- export RELEASE_FILE=$(ls build/libs/*.jar)
2015-09-10 00:29:10 +02:00
- curl --ftp-ssl -3 -k --ftp-create-dirs -T ${RELEASE_FILE} --user \"$FTP_USER\":$FTP_PASSWORD ftp://khazaddum.caltech.edu/warpdrive/files/${RELEASE_FILE:0:-4}.${TRAVIS_BUILD_NUMBER}-${TRAVIS_BRANCH}.jar