From: Daniel Hahler Date: Thu, 23 Apr 2015 18:24:29 +0000 (+0200) Subject: travis: use 'sudo make' to fix zsh test X-Git-Url: http://www.git.stargrave.org/?p=zsh-autoenv.git;a=commitdiff_plain;h=473a0a32dfc965c205f49366a6b2747862c10bb1 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 --- diff --git a/.travis.yml b/.travis.yml index 4946e8d..61c98d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ env: 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 && 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; fi - pip install cram script: - zsh --version