Skip to content

Commit 105096a

Browse files
authored
[Ignore] Use PowerShell download script for Travis builds (#764)
* Use PowerShell repo's download script to install PowerShell * Use an up-to-date version of PowerShell * Install libunwind8 for dotnet
1 parent 80920c6 commit 105096a

File tree

2 files changed

+4
-155
lines changed

2 files changed

+4
-155
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ before_install:
1717
mkdir -p /usr/local/lib;
1818
ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/;
1919
ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/;
20+
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
21+
sudo apt-get install libunwind8;
2022
fi
2123

2224
install:
2325
- pushd scripts
24-
- ./download.sh
26+
- bash <(curl -s https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.sh)
2527
- popd
2628

2729
script:
2830
- ulimit -n 4096
29-
- powershell -File scripts/travis.ps1
31+
- pwsh -File scripts/travis.ps1

scripts/download.sh

Lines changed: 0 additions & 153 deletions
This file was deleted.

0 commit comments

Comments
 (0)