mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 19:55:51 +00:00
[FIX] Fix bug in .travis.yml generation of list of modified files in pull request
This commit is contained in:
@@ -4,7 +4,7 @@ node_js:
|
|||||||
before_script:
|
before_script:
|
||||||
- npm install -g eslint
|
- npm install -g eslint
|
||||||
- curl 'https://raw.githubusercontent.com/ripple/javascript-style-guide/master/eslintrc' > ./eslintrc
|
- curl 'https://raw.githubusercontent.com/ripple/javascript-style-guide/master/eslintrc' > ./eslintrc
|
||||||
- eslint --reset -c ./eslintrc $(git --no-pager diff --name-only --diff-filter=AM --relative FETCH_HEAD $(git merge-base FETCH_HEAD origin/HEAD) | grep "\.js$")
|
- eslint --reset -c ./eslintrc $(git --no-pager diff --name-only --diff-filter=AM --relative $(git merge-base FETCH_HEAD origin/HEAD) FETCH_HEAD | grep "\.js$")
|
||||||
script: MOCHA_REPORTER=tap npm test --coverage
|
script: MOCHA_REPORTER=tap npm test --coverage
|
||||||
after_success:
|
after_success:
|
||||||
- npm run coveralls
|
- npm run coveralls
|
||||||
|
|||||||
Reference in New Issue
Block a user