Skip to content

Commit

Permalink
feat: Merge pull request #216 from pelias/repo-crawler-add-dep-check
Browse files Browse the repository at this point in the history
Add dependency checks to pre-commit and travis
  • Loading branch information
Diana Shkolnikov authored Apr 6, 2017
2 parents d00ca8a + 47a4476 commit 56ba4bf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- 4
- 6
matrix:
fast_finish: true
allow_failures:
fast_finish: true
env:
global:
- CXX=g++-4.8
Expand All @@ -34,7 +30,7 @@ addons:
- g++-4.8
- oracle-java8-installer
before_install:
- npm i -g npm@^2.0.0
- npm i -g npm@^3.0.0
before_script:
- npm prune
- sleep 10
Expand Down
17 changes: 11 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
"drop_index": "node scripts/drop_index",
"reset_type": "node scripts/reset_type",
"update_settings": "node scripts/update_settings",
"travis": "npm run test",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"travis": "npm run check-dependencies && npm run test",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"check-dependencies": "node_modules/.bin/npm-check --production"
},
"repository": {
"type": "git",
Expand All @@ -37,14 +38,18 @@
"elasticsearch": "^12.0.1",
"joi": "^10.1.0",
"mergeable": "latest",
"pelias-config": "2.7.1"
"pelias-config": "2.9.0"
},
"devDependencies": {
"difflet": "^1.0.1",
"elastictest": "^1.2.0",
"npm-check": "^5.4.0",
"proxyquire": "^1.7.10",
"semantic-release": "^6.3.2",
"tap-spec": "^4.1.1",
"tape": "^4.5.0",
"semantic-release": "^6.3.2"
}
"tape": "^4.5.0"
},
"pre-commit": [
"check-dependencies"
]
}

0 comments on commit 56ba4bf

Please sign in to comment.