1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-14 13:00:58 +02:00
zsh-autoenv/.travis.yml
2017-12-15 23:11:20 +01:00

22 lines
757 B
YAML

language: generic
sudo: false
env:
- ZSH=4 ZDOTDIR=tests/ZDOTDIR
- ZSH=4 ZDOTDIR=tests/ZDOTDIR.clobber
- ZSH=4 ZDOTDIR=tests/ZDOTDIR.invalid-module_path
- ZSH=4 ZDOTDIR=tests/ZDOTDIR.loadviafunction
- ZSH=5 ZDOTDIR=tests/ZDOTDIR
- ZSH=5 ZDOTDIR=tests/ZDOTDIR.clobber
- ZSH=5 ZDOTDIR=tests/ZDOTDIR.invalid-module_path
- ZSH=5 ZDOTDIR=tests/ZDOTDIR.loadviafunction
install:
- if [ "$ZSH" = 4 ]; then sudo apt-get install zsh; fi
- if [ "$ZSH" = 5 ]; then wget http://downloads.sourceforge.net/project/zsh/zsh/5.0.7/zsh-5.0.7.tar.bz2; tar xf zsh-5.0.7.tar.bz2; cd zsh-5.0.7; ./configure && sudo make && sudo make install; cd ..; fi
- pip install --user cram
- export SHELL=zsh
script:
- zsh --version
- make test ZDOTDIR=$ZDOTDIR