Using Travis CI for testing on UNIX shell scripts

Absolutely.

I made a simple test here: https://travis-ci.org/soulseekah/test-shunit2-travis

My .travis.yml file is:

language: bash

before_script:
    - curl -L "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/shunit2/shunit2-2.1.6.tgz" | tar zx

script:
    - bash equality_test.sh

Repository: https://github.com/soulseekah/test-shunit2-travis


I rolled everything into a Makefile and then call make test...

language: bash
script: make test

I'm using assert.sh, so there was no need for the before_script. You can check it out at https://github.com/wmluke/dokku-domains-plugin.