Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (20 sloc) 662 Bytes
language: generic
sudo: required
branches:
only:
- master
os:
- linux
- osx
env:
- SH=mksh
- SH=dash
- SH=bash
- SH=zsh
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [[ ! $(which $SH) ]] ; then brew update ; fi ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [[ ! $(which $SH) ]] ; then brew install $SH ; fi ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then if [[ ! $(which $SH) ]] ; then sudo apt-get -qq update ; fi ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then if [[ ! $(which $SH) ]] ; then sudo apt-get install -y $SH ; fi ; fi
script:
- TEST_SH=$SH ./test/run