1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-23 07:40:58 +02:00

Travis: also build 4.3.17 from source

This commit is contained in:
Daniel Hahler 2017-04-23 22:11:12 +02:00
parent 8b49e6412d
commit f5f769213e

View File

@ -1,22 +1,25 @@
language: generic language: generic
sudo: false sudo: false
env: env:
- TEST_ZSH=4.3.17
- TEST_ZSH=5.0.8
- TEST_ZSH=5.1.1
- TEST_ZSH=5.2
- TEST_ZSH=5.3.1 - TEST_ZSH=5.3.1
- TEST_ZSH=5.2
- TEST_ZSH=5.1.1
- TEST_ZSH=5.0.8
- TEST_ZSH=4.3.17
- TEST_ZSH=4.3.17-travis
install: install:
- | - |
if [ "$TEST_ZSH" = 4.3.17 ]; then if [ "$TEST_ZSH" = 4.3.17-travis ]; then
sudo apt-get install zsh sudo apt-get install zsh
if [ "$(zsh --version)" != "zsh 4.3.17 (x86_64-unknown-linux-gnu)" ]; then if [ "$(zsh --version)" != "zsh 4.3.17 (x86_64-unknown-linux-gnu)" ]; then
echo "Unexpected Zsh version: $(zsh --version)" echo "Unexpected Zsh version: $(zsh --version)"
exit 1 exit 1
fi fi
else else
if [ "$TEST_ZSH" = 5.0.8 ]; then if [ "$TEST_ZSH" = 4.3.17 ]; then
curl -SL https://sourceforge.net/projects/zsh/files/zsh-dev/4.3.17/zsh-4.3.17.tar.bz2 | tar --bzip2 -xf -
elif [ "$TEST_ZSH" = 5.0.8 ]; then
curl -SL https://downloads.sourceforge.net/project/zsh/zsh/$TEST_ZSH/zsh-$TEST_ZSH.tar.bz2 | tar --bzip2 -xf - curl -SL https://downloads.sourceforge.net/project/zsh/zsh/$TEST_ZSH/zsh-$TEST_ZSH.tar.bz2 | tar --bzip2 -xf -
else else
curl -SL https://downloads.sourceforge.net/project/zsh/zsh/$TEST_ZSH/zsh-$TEST_ZSH.tar.xz | tar --xz -xf - curl -SL https://downloads.sourceforge.net/project/zsh/zsh/$TEST_ZSH/zsh-$TEST_ZSH.tar.xz | tar --xz -xf -