1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Fix windows tagged builds

The windows tagged builds currently fail some tests since the
winpty-agent.exe is inside the release directory instead of the debug
directory with tagged builds.
This commit is contained in:
Christian Duerr 2018-11-03 18:46:26 +00:00 committed by GitHub
parent 77816797e8
commit d2f4972703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,8 +20,13 @@ cargo test -p font || error=true
# Test the winpty subcrate
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
cp ./target/debug/winpty-agent.exe ./target/debug/deps && \
cargo test -p winpty || error=true
if [ -n "$TRAVIS_TAG" ]; then
mkdir -p "./target/debug/deps"
cp "./target/release/winpty-agent.exe" "./target/debug/deps"
else
cp "./target/debug/winpty-agent.exe" "./target/debug/deps"
fi
cargo test -p winpty || error=true
fi
if [ $error == "true" ]; then