HMCL/.travis.yml

35 lines
1.7 KiB
YAML
Raw Normal View History

2016-02-25 12:46:29 +08:00
language: java
2016-02-25 13:14:42 +08:00
jdk:
2016-02-26 13:22:26 +08:00
- oraclejdk8
2016-02-27 14:14:23 +08:00
branches:
only:
- master
before_deploy:
- git config --global user.email ${GITHUB_EMAIL}
- git config --global user.name ${GITHUB_NAME}
- git tag ${TRAVIS_BUILD_NUMBER}
2016-02-27 17:08:29 +08:00
- git push -q ${REPO} --tags
2016-02-25 13:43:18 +08:00
deploy:
2016-02-26 13:22:26 +08:00
provider: releases
api_key:
secure: lfFEwKtij/s9Ao/SKL7oVdsWcfASshZuwT27gllMrTx1ZQqLCG2I5mGJOp5ukx7lb3y4Tu316nFasLjy9NI3eLXSx9f0w4q+wMf0K5Yj9iOwu/TIn7JkLyHDMQ20qRwGxZplS2WUb669gIRg+l6jUHeTBW+dlTxr0mMa6WHIl8UDpHwfFrGC3i6dL4y6WlDwGl2rYktvOoA/iqvtglBcHuXaL2sDfhp5MXRcYULTIw+b9zmiQXP665DQN+Su5I3gwB4y5X8RH72GAacZn13fEIo5i8UUoHM7UQxM8y8DKSO3avyFCfpUle9+9sErQVW7b6JV1c+AoLWuAhNJLMlUTKarZE7UMqfjvoQHxX5hp2B2WHLEON/UJiGf25HJWx6VhJitE0/odujqnG/umesqki2jMTs6gPcxbc9iBjzUg+ZmFztdtC+Emnni7lpqVVl+Y5hsJRn3Z6rIiNgwmaE0r2OQgAm1vRYFc7jvOdRfyFG+uCRZF6nS56BzJ7dLc0WW8dTgSft6YFll4ZYL6hiI9qiIaBAK948y5HV+6VBWuO3xf/G2CUFbE1Y9qUCjToh3ahxNDzZvXB+rXqvlvNQOi5l8n594oQ61n45qIHSKlMBn9Bxhw29oWT5mo1aYIaNXbpzKam2w4mK0T3VrgTszu/3282wRbNr+VAwdGMfwW1s=
2016-02-26 13:40:41 +08:00
file:
- HMCL/build/libs/HMCL-${HMCL_VERSION_ROOT}.${TRAVIS_BUILD_NUMBER}.jar
- HMCL/build/libs/HMCL-${HMCL_VERSION_ROOT}.${TRAVIS_BUILD_NUMBER}.exe
2016-05-16 12:55:35 +08:00
- HMCL/build/libs/HMCL-${HMCL_VERSION_ROOT}.${TRAVIS_BUILD_NUMBER}-MacOSApp.zip
- HMCSM/build/libs/HMCSM-${HMCSM_VERSION_ROOT}.${TRAVIS_BUILD_NUMBER}.jar
- HMCSM/build/libs/HMCSM-${HMCSM_VERSION_ROOT}.${TRAVIS_BUILD_NUMBER}.exe
2016-05-16 12:55:35 +08:00
- HMCSM/build/libs/HMCSM-${HMCSM_VERSION_ROOT}.${TRAVIS_BUILD_NUMBER}-MacOSApp.zip
2016-02-26 13:22:26 +08:00
on:
repo: huanghongxun/HMCL
2016-02-27 14:14:23 +08:00
tags: false
2016-02-26 13:40:41 +08:00
skip_cleanup: true
2016-02-25 23:16:28 +08:00
install: echo "skip 'gradle assemble' step"
script: gradle build --continue
before_cache:
2016-02-26 13:22:26 +08:00
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
2016-02-25 23:16:28 +08:00
cache:
2016-02-26 13:22:26 +08:00
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"