updated travis.yml to only set data to coverals after the main script has been run
updated scripts to split up coverage and coveralls scripts