Update Travis config
Reduce Travis builds with script
Fix bug in Travis CI shell script