Skip to content

Commit b02e514

Browse files
committed
Trim some unused config from the Travis config
We no longer use the “smoke” branch, nor do we push to master in order to deploy to S3. So remove these from the Travis config so it’s clearer what we actually use.
1 parent abe79b3 commit b02e514

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

.travis.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ env:
1212
- NODE_OPTIONS=--max-old-space-size=7250
1313
- NPM_TAG=latest
1414
- RELEASE_VERSION="0.1.0-prerelease.$(date +'%Y%m%d%H%M%S')"
15-
- SMOKE_URL=https://llk.github.io/scratch-gui/$TRAVIS_PULL_REQUEST_BRANCH
1615
cache:
1716
directories:
1817
- node_modules
@@ -26,7 +25,6 @@ install:
2625
before_script: greenkeeper-lockfile-update
2726
script:
2827
- npm test
29-
- if [ "$TRAVIS_EVENT_TYPE" == "pull_request" ] && [ "$TRAVIS_BRANCH" == "master" ]; then npm run test:smoke; fi
3028
after_script: greenkeeper-lockfile-upload
3129
before_deploy:
3230
- >
@@ -44,7 +42,6 @@ deploy:
4442
branch:
4543
- master
4644
- develop
47-
- smoke
4845
- hotfix/*
4946
condition: $TRAVIS_EVENT_TYPE != cron
5047
skip_cleanup: true
@@ -56,22 +53,9 @@ deploy:
5653
branch:
5754
- master
5855
- develop
59-
- smoke
6056
condition: $TRAVIS_EVENT_TYPE != cron
6157
skip_cleanup: true
6258
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
63-
- provider: s3
64-
on:
65-
branch:
66-
- master
67-
- $PREVIEW_BRANCH
68-
condition: $TRAVIS_EVENT_TYPE != cron
69-
access_key_id: $AWS_ACCESS_KEY_ID
70-
secret_access_key: $AWS_SECRET_ACCESS_KEY
71-
bucket: $AWS_BUCKET_NAME
72-
acl: public_read
73-
skip_cleanup: true
74-
local_dir: build
7559
- provider: script
7660
on:
7761
all_branches: true
@@ -85,5 +69,3 @@ deploy:
8569
condition: $TRAVIS_EVENT_TYPE == cron
8670
skip_cleanup: true
8771
script: npm run i18n:src && npm run i18n:push
88-
after_deploy:
89-
- 'curl -X POST -H "Fastly-Key: $FASTLY_TOKEN" -H "Accept: application/json" https://api.fastly.com/service/$FASTLY_SERVICE_ID/purge_all'

0 commit comments

Comments
 (0)