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

fixup! Travis: test more Zsh versions

This commit is contained in:
Daniel Hahler 2017-04-23 19:50:34 +02:00
parent 3101cc90c7
commit 013675c98d

View File

@ -1,24 +1,24 @@
language: generic
sudo: false
env:
- ZSH=4.3.17
- ZSH=5.0.8
- ZSH=5.1.1
- ZSH=5.2
- ZSH=5.3.1
- TEST_ZSH=4.3.17
- TEST_ZSH=5.0.8
- TEST_ZSH=5.1.1
- TEST_ZSH=5.2
- TEST_ZSH=5.3.1
install:
- |
if [ "$ZSH" = 4.3.17 ]; then
if [ "$TEST_ZSH" = 4.3.17 ]; then
sudo apt-get install zsh
if [ "$(zsh --version)" != "zsh 4.3.17 (x86_64-unknown-linux-gnu)" ]; then
echo "Unexpected Zsh version: $(zsh --version)"
exit 1
fi
else
(wget http://downloads.sourceforge.net/project/zsh/zsh/$ZSH/zsh-$ZSH.tar.bz2
tar xf zsh-$ZSH.tar.bz2
cd zsh-$ZSH
(wget http://downloads.sourceforge.net/project/zsh/zsh/$TEST_ZSH/zsh-$TEST_ZSH.tar.bz2
tar xf zsh-$TEST_ZSH.tar.bz2
cd zsh-$TEST_ZSH
./configure && sudo make && sudo make install)
fi
- pip install --user cram
@ -26,4 +26,4 @@ install:
script:
- zsh --version
- which zsh
- make test
- make test_full