diff --git a/.travis.yml b/.travis.yml index 38af9f8b2..fcb059dce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,6 @@ env: - NODE_OPTIONS=--max-old-space-size=7250 - NPM_TAG=latest - RELEASE_VERSION="0.1.0-prerelease.$(date +'%Y%m%d%H%M%S')" - - SMOKE_URL=https://llk.github.io/scratch-gui/$TRAVIS_PULL_REQUEST_BRANCH cache: directories: - node_modules @@ -26,7 +25,6 @@ install: before_script: greenkeeper-lockfile-update script: - npm test -- if [ "$TRAVIS_EVENT_TYPE" == "pull_request" ] && [ "$TRAVIS_BRANCH" == "master" ]; then npm run test:smoke; fi after_script: greenkeeper-lockfile-upload before_deploy: - > @@ -44,7 +42,6 @@ deploy: branch: - master - develop - - smoke - hotfix/* condition: $TRAVIS_EVENT_TYPE != cron skip_cleanup: true @@ -56,22 +53,9 @@ deploy: branch: - master - develop - - smoke condition: $TRAVIS_EVENT_TYPE != cron skip_cleanup: true script: if npm info scratch-gui | grep -q $RELEASE_VERSION; then git tag $RELEASE_VERSION && git push https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git $RELEASE_VERSION; fi -- provider: s3 - on: - branch: - - master - - $PREVIEW_BRANCH - condition: $TRAVIS_EVENT_TYPE != cron - access_key_id: $AWS_ACCESS_KEY_ID - secret_access_key: $AWS_SECRET_ACCESS_KEY - bucket: $AWS_BUCKET_NAME - acl: public_read - skip_cleanup: true - local_dir: build - provider: script on: all_branches: true @@ -85,5 +69,3 @@ deploy: condition: $TRAVIS_EVENT_TYPE == cron skip_cleanup: true script: npm run i18n:src && npm run i18n:push -after_deploy: -- 'curl -X POST -H "Fastly-Key: $FASTLY_TOKEN" -H "Accept: application/json" https://api.fastly.com/service/$FASTLY_SERVICE_ID/purge_all'