use a shared script in .travis.yml