copy code from remote setup.sh directly into travis config file

see #310