---
sudo: required
dist: trusty
language: bash
before_install:
  - export DISPLAY=:99.0
  - Xvfb :99 -ac -screen 0 1024x768x8 &>/dev/null &
install:
  - git clone https://github.com/sstephenson/bats
  - git clone https://github.com/vinsonchuong/bash-common-parse-options
  - export PATH=$PWD/bin:$PWD/bats/bin:$PWD/bash-common-parse-options/bin:$PATH
script: bats spec

---
sudo: required
dist: trusty
addons:
  apt:
    packages:
    - realpath
language: bash
before_install:
- export DISPLAY=:99.0
- Xvfb :99 -ac -screen 0 1024x768x8 &>/dev/null &
install:
- git clone https://github.com/sstephenson/bats
- git clone https://github.com/vinsonchuong/bash-common-parse-options
- export PATH=$PWD/bin:$PWD/bats/bin:$PWD/bash-common-parse-options/bin:$PATH
script: bats spec

Add realpath package to Travis
Add realpath package to Travis
