Travis CI: Refactor travis script

To simplify modification/inclusion of continuous integration targets, this
removes travis.sh which contains a big if statement in favor of multiple scripts
under the new '.ci' directory.
Merge #1046 'Refactor travis script'