]> Sergey Matveev's repositories - zsh-autoenv.git/commitdiff
travis: add zsh 4/5 to matrix
authorDaniel Hahler <git@thequod.de>
Thu, 23 Apr 2015 17:24:21 +0000 (19:24 +0200)
committerDaniel Hahler <git@thequod.de>
Thu, 23 Apr 2015 17:24:21 +0000 (19:24 +0200)
.travis.yml

index 132aef226c24fcf45a593655a6c78c8c7b61ec35..4946e8d152bac1c5cac97ea852bd9bbd53dead77 100644 (file)
@@ -2,12 +2,19 @@ language: python
 python:
   - 3.4
 env:
-  - ZDOTDIR=tests/ZDOTDIR
-  - ZDOTDIR=tests/ZDOTDIR.clobber
-  - ZDOTDIR=tests/ZDOTDIR.invalid-module_path
-  - ZDOTDIR=tests/ZDOTDIR.loadviafunction
+  - 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:
-  - sudo apt-get install zsh
+  - 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 && make && sudo make install; fi
   - pip install cram
 script:
   - zsh --version