fixed a typo in .travis.yml
travis/build.sh: fix exit code
Merge pull request #186 from ottxor/master

fixed a typo in .travis.yml
Made runtime error system cuda compatible
Put errexit to a better place.
Fixing the Heisenbug?
Fixed error colection.
Test using other configs.