1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-09-28 01:11:05 +03:00
zsh-autoenv/.travis.yml
Daniel Hahler 473a0a32df travis: use 'sudo make' to fix zsh test
Build: https://travis-ci.org/Tarrasch/zsh-autoenv/jobs/59762278

Error:

   ./A04redirect.ztst: starting.
   *** /tmp/zsh.ztst.err.16143	Thu Apr 23 18:06:09 2015
   --- /tmp/zsh.ztst.terr.16143	Thu Apr 23 18:06:09 2015
   ***************
   *** 1 ****
   ! zsh:1: no such file or directory: /nonexistent/nonexistent
   --- 1 ----
   ! zsh:1: permission denied: /nonexistent/nonexistent
   Test ./A04redirect.ztst failed: error output differs from expected as shown above for:
     $ZTST_testdir/../Src/zsh -fc 'exec >/nonexistent/nonexistent
     echo output'
   Was testing: failed exec redir, no POSIX_BUILTINS
2015-04-23 20:24:30 +02:00

22 lines
708 B
YAML

language: python
python:
- 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; fi
- pip install cram
script:
- zsh --version
- make test