1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(windows): automatically deploy for windows

This commit is contained in:
sudden6 2018-03-18 14:37:30 +01:00
parent a918e559ee
commit b40f8e1fd3
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
2 changed files with 30 additions and 0 deletions

View File

@ -122,6 +122,28 @@ deploy:
tags: true tags: true
skip_cleanup: true skip_cleanup: true
# Windows Installer 64Bit
- provider: releases
api_key:
secure: "BRbzTWRvadALRQSTihMKruOj64ydxusMUS9FQR//qFlS345ZYfYta43W//4LcWWDKtj6IvA6DRqNdabgWnpbpxpnm9gVftGUdOKlU3niPZhwsMkB2M12QHUnAP6DVOfGPvdciBV+6mu73SSxniEcrYjZ1CrRX7mknmehPpVKxNk="
file: "./workspace/x86_64/qtox/release/setup-qtox-x86_64-release.exe"
on:
condition: $WINDOWS_BUILD_ARCH_CACHE_TRICK_VARIABLE == x86_64 && -f /home/travis/build/qTox/qTox/stage3 && -f /home/travis/build/qTox/qTox/release
repo: qTox/qTox
tags: true
skip_cleanup: true
# Windows Installer 32Bit
- provider: releases
api_key:
secure: "BRbzTWRvadALRQSTihMKruOj64ydxusMUS9FQR//qFlS345ZYfYta43W//4LcWWDKtj6IvA6DRqNdabgWnpbpxpnm9gVftGUdOKlU3niPZhwsMkB2M12QHUnAP6DVOfGPvdciBV+6mu73SSxniEcrYjZ1CrRX7mknmehPpVKxNk="
file: "./workspace/x86_64/qtox/release/setup-qtox-i686-release.exe"
on:
condition: $WINDOWS_BUILD_ARCH_CACHE_TRICK_VARIABLE == i686 && -f /home/travis/build/qTox/qTox/stage3 && -f /home/travis/build/qTox/qTox/release
repo: qTox/qTox
tags: true
skip_cleanup: true
# branch for windows jenkins build # branch for windows jenkins build
- provider: script - provider: script
script: .travis/deploy-jenkins-branch.sh script: .travis/deploy-jenkins-branch.sh

View File

@ -72,6 +72,14 @@ then
exit 1 exit 1
fi fi
# make the build stage visible to the deploy process
touch "$STAGE"
# make the build type visible to the deploy process
touch "$BUILD_TYPE"
# for debugging of the stage files
echo $PWD
# Just make sure those exist, makes logic easier # Just make sure those exist, makes logic easier
mkdir -p "$CACHE_DIR" mkdir -p "$CACHE_DIR"