Skip to content

Commit

Permalink
Merge pull request #13 from pelias/ci_cleanup
Browse files Browse the repository at this point in the history
CI cleanup
  • Loading branch information
orangejulius authored May 22, 2018
2 parents a4ec4b9 + f191fc6 commit a33a21e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
16 changes: 7 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,16 @@ language: node_js
notifications:
email: false
node_js:
- 4
- 6
- 8
- 10
matrix:
fast_finish: true
env:
global:
- BUILD_LEADER_ID=2
script: npm run travis
before_install:
- npm i -g npm@^3.0.0
before_script:
- npm prune
- npm i -g npm
after_success:
- npm install -g npx
- npx -p node@8 npm run semantic-release
- npx semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@
"scripts": {
"test": "node test/index | tap-dot",
"lint": "jshint .",
"travis": "npm run check-dependencies && npm test",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"validate": "npm ls",
"check-dependencies": "node_modules/.bin/npm-check --production"
"travis": "npm test",
"validate": "npm ls"
},
"author": "Mapzen",
"author": "Pelias",
"license": "MIT",
"engines": {
"node": ">=4.0.0"
"node": ">=6.0.0"
},
"repository": {
"type": "git",
Expand All @@ -26,7 +24,6 @@
},
"devDependencies": {
"jshint": "^2.8.0",
"npm-check": "^5.4.4",
"precommit-hook": "^3.0.0",
"semantic-release": "^15.1.8",
"tap-dot": "^1.0.5",
Expand All @@ -35,7 +32,9 @@
"pre-commit": [
"lint",
"validate",
"test",
"check-dependencies"
]
"test"
],
"release": {
"success": []
}
}

0 comments on commit a33a21e

Please sign in to comment.