mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-21 15:00:59 +02:00
travis: fix tests
- set SHELL=zsh - cd back for ZSH=5 - fix/improve autoenv.plugin.zsh: no dirname, use ${0:h}
This commit is contained in:
parent
473a0a32df
commit
bf1376fd8f
@ -14,8 +14,9 @@ env:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- if [ "$ZSH" = 4 ]; then sudo apt-get install zsh; fi
|
- 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; 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 cram
|
- pip install cram
|
||||||
|
- export SHELL=zsh
|
||||||
script:
|
script:
|
||||||
- zsh --version
|
- zsh --version
|
||||||
- make test
|
- make test
|
||||||
|
@ -1 +1 @@
|
|||||||
. $(dirname $0)/autoenv.zsh
|
. ${0:h}/autoenv.zsh
|
||||||
|
Loading…
Reference in New Issue
Block a user