factored build logic out of travis.yml and into continuousIntegration.sh