]> Sergey Matveev's repositories - zsh-autoenv.git/commitdiff
travis: use 'sudo make' to fix zsh test
authorDaniel Hahler <git@thequod.de>
Thu, 23 Apr 2015 18:24:29 +0000 (20:24 +0200)
committerDaniel Hahler <git@thequod.de>
Thu, 23 Apr 2015 18:24:30 +0000 (20:24 +0200)
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

.travis.yml

index 4946e8d152bac1c5cac97ea852bd9bbd53dead77..61c98d9fa2f24cc341b7aa37cde9e18b1a655437 100644 (file)
@@ -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