diff --git a/.travis.yml b/.travis.yml index 68e7fe7..89ede46 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,11 +51,5 @@ script: after_script: - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js -deploy: - provider: script - skip_cleanup: true - script: - - npx travis-deploy-once "npx semantic-release" - -notifications: - email: false +after_success: + - npm run travis-deploy-once "npm run semantic-release" diff --git a/package.json b/package.json index 82ee749..d5c65b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ember-stripe-elements", - "version": "0.3.1", + "version": "0.4.0", "description": "A simple Ember wrapper for Stripe Elements.", "keywords": [ "credit card", @@ -19,7 +19,9 @@ "scripts": { "build": "ember build", "start": "ember serve", - "test": "ember try:each" + "test": "ember try:each", + "semantic-release": "semantic-release", + "travis-deploy-once": "travis-deploy-once" }, "dependencies": { "ember-cli-babel": "^6.6.0",