mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-27 22:50:19 +00:00
ci: Try fix with PATH on Windows
This commit is contained in:
parent
f030600468
commit
96a1db1848
1 changed files with 4 additions and 4 deletions
|
@ -23,6 +23,10 @@ before_install:
|
||||||
export TARGET=x86_64-unknown-linux-gnu;
|
export TARGET=x86_64-unknown-linux-gnu;
|
||||||
elif [[ $TRAVIS_OS_NAME == "windows" ]]; then
|
elif [[ $TRAVIS_OS_NAME == "windows" ]]; then
|
||||||
export TARGET=x86_64-pc-windows-msvc;
|
export TARGET=x86_64-pc-windows-msvc;
|
||||||
|
if [[ -z $TRAVIS_TAG ]]; then
|
||||||
|
choco install nuget.commandline;
|
||||||
|
nuget install WiX -version 3.11.1;
|
||||||
|
fi
|
||||||
elif [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
elif [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
||||||
export TARGET=x86_64-apple-darwin;
|
export TARGET=x86_64-apple-darwin;
|
||||||
fi
|
fi
|
||||||
|
@ -56,10 +60,6 @@ before_deploy:
|
||||||
zip bottom_i686-pc-windows-msvc.zip "btm.exe";
|
zip bottom_i686-pc-windows-msvc.zip "btm.exe";
|
||||||
python "./deployment/windows/choco/choco_packager.py" "bottom_i686-pc-windows-msvc.zip" "bottom_x86_64-pc-windows-msvc.zip" $TRAVIS_TAG "./deployment/windows/choco/bottom.nuspec.template" "./deployment/windows/choco/chocolateyinstall.ps1.template" "./deployment/windows/choco/bottom.nuspec" "./deployment/windows/choco/tools/chocolateyinstall.ps1" "./deployment/windows/choco/tools/";
|
python "./deployment/windows/choco/choco_packager.py" "bottom_i686-pc-windows-msvc.zip" "bottom_x86_64-pc-windows-msvc.zip" $TRAVIS_TAG "./deployment/windows/choco/bottom.nuspec.template" "./deployment/windows/choco/chocolateyinstall.ps1.template" "./deployment/windows/choco/bottom.nuspec" "./deployment/windows/choco/tools/chocolateyinstall.ps1" "./deployment/windows/choco/tools/";
|
||||||
zip choco.zip "./deployment/windows/choco/bottom.nuspec" "./deployment/windows/choco/tools/";
|
zip choco.zip "./deployment/windows/choco/bottom.nuspec" "./deployment/windows/choco/tools/";
|
||||||
# Generating msi
|
|
||||||
# See https://travis-ci.community/t/unable-to-install-wix-toolset/1071 for why we do nuget.
|
|
||||||
choco install nuget.commandline;
|
|
||||||
nuget install WiX.Toolset;
|
|
||||||
cargo install cargo-wix;
|
cargo install cargo-wix;
|
||||||
cargo wix init;
|
cargo wix init;
|
||||||
cargo wix;
|
cargo wix;
|
||||||
|
|
Loading…
Reference in a new issue