]> Sergey Matveev's repositories - zsh-autoenv.git/blobdiff - .travis.yml
lib/varstash: simplify stash for Zsh
[zsh-autoenv.git] / .travis.yml
index 0427fb7380375dcafc674706803ae8233855e0d5..62239d7950bd7963702c8f93d750d5668a2ccfb6 100644 (file)
@@ -1,10 +1,22 @@
 language: python
 python:
   - 3.4
-before_script:
-  - sudo apt-get install zsh
+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:
-  - sudo pip install cram
+  - 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_full
+  - make test