]> Sergey Matveev's repositories - zsh-autoenv.git/blobdiff - .travis.yml
Fix recipe: ensure that extendedglob is set (#64)
[zsh-autoenv.git] / .travis.yml
index 00828baa65aa19671dbde96986c73237ccc70e9a..62239d7950bd7963702c8f93d750d5668a2ccfb6 100644 (file)
@@ -1,7 +1,22 @@
 language: python
 python:
-  - "3.3"
-before_script:
-  - "sudo apt-get install zsh"
-install: "sudo pip install cram"
-script: "make test"
+  - 3.4
+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 cram
+  - export SHELL=zsh
+script:
+  - zsh --version
+  - make test