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:
parent
a918e559ee
commit
b40f8e1fd3
22
.travis.yml
22
.travis.yml
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user