Skip to content

Commit

Permalink
Drops support for Bower (pixijs#3772)
Browse files Browse the repository at this point in the history
* Drops support for Bower

* Removes gh-pages

* Add S3 deploy for release
  • Loading branch information
bigtimebuddy authored Feb 26, 2017
1 parent 205ba24 commit d7b9c79
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 66 deletions.
40 changes: 40 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,43 @@ deploy:
on:
all_branches: true
condition: $TRAVIS_TAG
# Deploy config for latest release
- provider: s3
access_key_id: $S3_ACCESS_KEY_ID
secret_access_key: $S3_SECRET_ACCESS_KEY
bucket: "pixi.js"
skip_cleanup: true
acl: public_read
region: eu-west-1
cache_control: "max-age=1209600"
local_dir: dist
upload-dir: "release"
on:
all_branches: true
condition: $TRAVIS_TAG
- provider: s3
access_key_id: $S3_ACCESS_KEY_ID
secret_access_key: $S3_SECRET_ACCESS_KEY
bucket: "pixi.js"
skip_cleanup: true
acl: public_read
region: eu-west-1
cache_control: "max-age=1209600"
local_dir: docs
upload-dir: "release/docs"
on:
all_branches: true
condition: $TRAVIS_TAG
- provider: s3
access_key_id: $S3_ACCESS_KEY_ID
secret_access_key: $S3_SECRET_ACCESS_KEY
bucket: "pixi.js"
skip_cleanup: true
acl: public_read
region: eu-west-1
cache_control: "max-age=1209600"
local_dir: coverage
upload-dir: "release/coverage"
on:
all_branches: true
condition: $TRAVIS_TAG
18 changes: 0 additions & 18 deletions bower.json

This file was deleted.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"lib": "babel src --out-dir lib -s",
"predocs": "rimraf docs/**",
"docs": "jsdoc -c scripts/jsdoc.conf.json -R README.md",
"publish:patch": "npm version patch --no-git-tag-version && npm publish",
"publish:minor": "npm version minor --no-git-tag-version && npm publish",
"publish:major": "npm version major --no-git-tag-version && npm publish",
"publish:patch": "npm version patch && npm publish",
"publish:minor": "npm version minor && npm publish",
"publish:major": "npm version major && npm publish",
"postversion": "npm run clean && npm run build && npm run lib && npm test",
"postpublish": "node scripts/release.js"
"postpublish": "git push && git push --tags"
},
"files": [
"dist/",
Expand Down Expand Up @@ -73,7 +73,6 @@
"electron": "^1.4.15",
"eslint": "^3.5.0",
"floss": "^2.0.1",
"gh-pages": "^0.11.0",
"jaguarjs-jsdoc": "^1.0.1",
"js-md5": "^0.4.1",
"jsdoc": "^3.4.2",
Expand Down
43 changes: 0 additions & 43 deletions scripts/release.js

This file was deleted.

0 comments on commit d7b9c79

Please sign in to comment.