language: c
script:
  - bats test
  - ./lint.sh
before_script:
  - git clone https://github.com/sstephenson/bats.git /tmp/bats
  - export PATH=/tmp/bats/bin:$PATH
os:
  - linux
  - osx

language: c

script:
  - bats test
  - ./lint.sh

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install shellcheck; fi

before_script:
  - git clone https://github.com/sstephenson/bats.git /tmp/bats
  - export PATH=/tmp/bats/bin:$PATH

os:
  - linux
  - osx

Add TravisCI instructions for osx setup of shellcheck
Add TravisCI instructions for osx setup of shellcheck
