language: bash

before_script:
    - curl -L "https://shunit2.googlecode.com/files/shunit2-2.1.6.tgz" | tar zx

script:
    - bash test_prm.sh
    - zsh -o shwordsplit -- test_prm.sh

language: bash

addons:
  apt:
    packages:
    - build-essential
before_install:
- export LOCAL="$(mktemp --directory --tmpdir=${TMPDIR:/tmp} local.bin.XXXXXX)"
- curl -L http://downloads.sourceforge.net/zsh/zsh-5.0.7.tar.gz | tar zx
- cd zsh-5.0.7
- ./configure --prefix=$LOCAL
- make
- make install
- cd -
- export PATH="$LOCAL/bin:$PATH"

before_script:
    - curl -L "https://shunit2.googlecode.com/files/shunit2-2.1.6.tgz" | tar zx

script:
    - bash test_prm.sh
    - zsh -o shwordsplit -- test_prm.sh

Update Travis CI yaml-config to download and install latest zsh (no sudo)
Update Travis CI yaml-config to download and install latest zsh (no sudo)
