Skip to content

Commit 62ee7e0

Browse files
authored
Merge pull request scratchfoundation#5205 from rschamp/trim-travis
Trim some unused config from the Travis config
2 parents c4bf772 + 3b82d52 commit 62ee7e0

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.travis.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,13 @@ 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
19-
before_install:
20-
# package-lock.json was introduced in npm@5
21-
- '[[ $(node -v) =~ ^v9.*$ ]] || npm install -g npm@latest' # skipped when using node 9
22-
- npm install -g greenkeeper-lockfile
2318
install:
2419
- npm --production=false install
25-
- npm --production=false update
26-
before_script: greenkeeper-lockfile-update
2720
script:
2821
- npm test
29-
- if [ "$TRAVIS_EVENT_TYPE" == "pull_request" ] && [ "$TRAVIS_BRANCH" == "master" ]; then npm run test:smoke; fi
30-
after_script: greenkeeper-lockfile-upload
3122
before_deploy:
3223
- >
3324
if [ -z "$BEFORE_DEPLOY_RAN" ]; then
@@ -44,7 +35,6 @@ deploy:
4435
branch:
4536
- master
4637
- develop
47-
- smoke
4838
- hotfix/*
4939
condition: $TRAVIS_EVENT_TYPE != cron
5040
skip_cleanup: true
@@ -61,18 +51,6 @@ deploy:
6151
condition: $TRAVIS_EVENT_TYPE != cron
6252
skip_cleanup: true
6353
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
64-
- provider: s3
65-
on:
66-
branch:
67-
- master
68-
- $PREVIEW_BRANCH
69-
condition: $TRAVIS_EVENT_TYPE != cron
70-
access_key_id: $AWS_ACCESS_KEY_ID
71-
secret_access_key: $AWS_SECRET_ACCESS_KEY
72-
bucket: $AWS_BUCKET_NAME
73-
acl: public_read
74-
skip_cleanup: true
75-
local_dir: build
7654
- provider: script
7755
on:
7856
all_branches: true
@@ -86,5 +64,3 @@ deploy:
8664
condition: $TRAVIS_EVENT_TYPE == cron
8765
skip_cleanup: true
8866
script: npm run i18n:src && npm run i18n:push
89-
after_deploy:
90-
- '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)