TRAVIS_BUILD_ID is not unique enough. Use JOB_NUMBER instead