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

fixup! fixup! fixup! fixup! fixup! Travis: test more Zsh versions

This commit is contained in:
Daniel Hahler 2017-04-23 20:10:00 +02:00
parent ff591b70fd
commit 38b4a64607
2 changed files with 8 additions and 4 deletions

View File

@ -16,9 +16,13 @@ install:
exit 1 exit 1
fi fi
else else
(curl -SL https://downloads.sourceforge.net/project/zsh/zsh/$TEST_ZSH/zsh-$TEST_ZSH.tar.xz | tar --xz -xf - if [ "$TEST_ZSH" = 5.0.8 ]; then
cd zsh-$TEST_ZSH curl -SL https://downloads.sourceforge.net/project/zsh/zsh/$TEST_ZSH/zsh-$TEST_ZSH.tar.bz2 | tar --bzip2 -xf -
./configure && sudo make && sudo make install) else
curl -SL https://downloads.sourceforge.net/project/zsh/zsh/$TEST_ZSH/zsh-$TEST_ZSH.tar.xz | tar --xz -xf -
fi
(cd zsh-$TEST_ZSH
./configure && sudo make && sudo make install)
fi fi
- pip install --user cram - pip install --user cram
- export SHELL=zsh - export SHELL=zsh

View File

@ -17,7 +17,7 @@ test_full:
ret=0; \ ret=0; \
for i in $(wildcard tests/ZDOTDIR*); do \ for i in $(wildcard tests/ZDOTDIR*); do \
echo "zsh=$zsh ZDOTDIR=$$i"; \ echo "zsh=$zsh ZDOTDIR=$$i"; \
SHELL=$(TEST_SHELL) ZDOTDIR=${CURDIR}/$$i cram --shell=$(TEST_SHELL) -v tests || ret=$$?; \ SHELL=$(TEST_SHELL) ZDOTDIR=${CURDIR}/$$i cram --shell=$(TEST_SHELL) -v tests || ret=$$(ret+1)); \
echo; \ echo; \
done; \ done; \
exit $$ret exit $$ret