diff --git a/.travis.yml b/.travis.yml index 5224d8b..8841825 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,10 @@ language: node_js node_js: - - "7" + - "9" + - "8" - "6" - "4" -addons: - chrome: stable - before_install: - nvm install 6 - nvm use 6 diff --git a/bin/publish_to_s3.js b/bin/publish_to_s3.js deleted file mode 100755 index 7daf49a..0000000 --- a/bin/publish_to_s3.js +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env node - -// To invoke this from the commandline you need the following to env vars to exist: -// -// S3_BUCKET_NAME -// TRAVIS_BRANCH -// TRAVIS_TAG -// TRAVIS_COMMIT -// S3_SECRET_ACCESS_KEY -// S3_ACCESS_KEY_ID -// -// Once you have those you execute with the following: -// -// ```sh -// ./bin/publish_to_s3.js -// ``` -var S3Publisher = require('ember-publisher'); -var configPath = require('path').join(__dirname, '../config/s3ProjectConfig.js'); -publisher = new S3Publisher({ projectConfigPath: configPath }); - -// Always use wildcard section of project config. -// This is useful when the including library does not -// require channels (like in ember.js / ember-data). -publisher.currentBranch = function() { - return (process.env.TRAVIS_BRANCH === 'master') ? 'wildcard' : 'no-op'; -}; -publisher.publish(); - diff --git a/bower.json b/bower.json deleted file mode 100644 index defe4ec..0000000 --- a/bower.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "es6-promise", - "namespace": "Promise", - "description": "A polyfill for ES6-style Promises, tracking rsvp", - "authors": [ - "Stefan Penner " - ], - "main": "dist/es6-promise.js", - "keywords": [ - "promise" - ], - "repository": { - "type": "git", - "url": "git://github.com/stefanpenner/es6-promise.git" - }, - "bugs": { - "url": "https://github.com/stefanpenner/es6-promise/issues" - }, - "license": "MIT", - "ignore": [ - "node_modules", - "bower_components", - "test", - "tests", - "vendor", - "tasks" - ] -} diff --git a/config/s3ProjectConfig.js b/config/s3ProjectConfig.js deleted file mode 100644 index 5f3349a..0000000 --- a/config/s3ProjectConfig.js +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Using wildcard because es6-promise does not currently have a - * channel system in place. - */ -module.exports = function(revision,tag,date){ - return { - 'es6-promise.js': - { contentType: 'text/javascript', - destinations: { - wildcard: [ - 'es6-promise-latest.js', - 'es6-promise-' + revision + '.js' - ] - } - }, - 'es6-promise.min.js': - { contentType: 'text/javascript', - destinations: { - wildcard: [ - 'es6-promise-latest.min.js', - 'es6-promise-' + revision + '.min.js' - ] - } - } - } -}