Added travis.yml

Explicit non-nil checks are usually redundant.