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:
parent
ff591b70fd
commit
38b4a64607
10
.travis.yml
10
.travis.yml
@ -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
|
||||||
|
2
Makefile
2
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user