1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-27 01:00:58 +02:00
zsh-autoenv/.travis.yml

30 lines
703 B
YAML
Raw Normal View History

language: generic
sudo: false
env:
2017-04-23 20:50:34 +03:00
- TEST_ZSH=4.3.17
- TEST_ZSH=5.0.8
- TEST_ZSH=5.1.1
- TEST_ZSH=5.2
- TEST_ZSH=5.3.1
2015-04-23 20:24:21 +03:00
2015-04-23 18:34:59 +03:00
install:
2017-04-23 20:44:58 +03:00
- |
2017-04-23 20:50:34 +03:00
if [ "$TEST_ZSH" = 4.3.17 ]; then
2017-04-23 20:44:58 +03:00
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
2017-04-23 20:50:34 +03:00
(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
2017-04-23 20:44:58 +03:00
./configure && sudo make && sudo make install)
fi
- pip install --user cram
- export SHELL=zsh
2015-04-23 18:34:59 +03:00
script:
- zsh --version
2017-04-23 15:23:06 +03:00
- which zsh
2017-04-23 20:50:34 +03:00
- make test_full