Skip to content

Commit

Permalink
fix(Travis): Fix travis fail..
Browse files Browse the repository at this point in the history
  • Loading branch information
st0ffern committed Jan 16, 2018
1 parent 815862a commit f80001b
Show file tree
Hide file tree
Showing 3 changed files with 405 additions and 438 deletions.
11 changes: 3 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
- ~/.npm
notifications:
email: false
node_js:
- '4'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
- '9'
after_success:
- npm run semantic-release
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "gl-react-imagefilters",
"version": "0.0.0-semantically-release",
"version": "0.0.0-development",
"description": "Image filters for gl-react and gl-react-native",
"main": "lib/index.js",
"scripts": {
"compile": "rm -rf lib/ && babel --presets es2015,stage-1,react --source-maps -d lib src",
"prepublish": "npm run compile",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
},
"author": "stoffern",
"license": "MIT",
Expand All @@ -30,7 +31,8 @@
"babel-preset-react": "^6.11.1",
"babel-preset-stage-1": "^6.5.0",
"cz-conventional-changelog": "^2.0.0",
"semantic-release": "^8.0.3"
"semantic-release": "^12.2.2",
"travis-deploy-once": "^4.3.1"
},
"config": {
"commitizen": {
Expand Down
Loading

0 comments on commit f80001b

Please sign in to comment.