难用的travis-ci

This commit is contained in:
南宫临风
2016-07-12 14:34:14 +08:00
parent 1a3c31a141
commit e6ed1eab71

View File

@@ -4,6 +4,11 @@ jdk:
branches:
only:
- master
before_deploy:
- git config --global user.email ${GITHUB_EMAIL}
- git config --global user.name ${GITHUB_NAME}
- git tag ${TRAVIS_BUILD_NUMBER}
- git push -q ${REPO} --tags
deploy:
provider: releases
api_key: ${DEPLOY_REPO}
@@ -15,7 +20,7 @@ deploy:
- HMCSM/build/libs/HMCSM-${HMCSM_VERSION_ROOT}.${TRAVIS_BUILD_NUMBER}.exe
- HMCSM/build/libs/HMCSM-${HMCSM_VERSION_ROOT}.${TRAVIS_BUILD_NUMBER}-MacOSApp.zip
on:
tags: true
tags: false
skip_cleanup: true
install: echo "skip 'gradle assemble' step"
script: gradle build --continue