Skip to content
This repository has been archived by the owner on Apr 1, 2019. It is now read-only.

Commit

Permalink
Merge pull request #144 from mozilla/build_to_logs
Browse files Browse the repository at this point in the history
Switch to using logs/ dir for reports
  • Loading branch information
Marcos Caceres committed Nov 20, 2015
2 parents 10880c1 + de496bd commit f9c68f0
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
.DS_Store
*.log
build/
logs/
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ before_script:
- firefox -v

after_script:
- ./node_modules/.bin/codeclimate-test-reporter < ./build/reports/coverage/lcov/lcov.info
- ./node_modules/.bin/codeclimate-test-reporter < ./logs/reports/coverage/lcov/lcov.info
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ test:
- PATH=/tmp/firefox/firefox:$PATH npm test
post:
- cd ~/$CIRCLE_PROJECT_REPONAME
- ./node_modules/.bin/codeclimate-test-reporter < ./build/reports/coverage/lcov/lcov.info
- ./node_modules/.bin/codeclimate-test-reporter < ./logs/reports/coverage/lcov/lcov.info
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ module.exports = function(config) {
reporters: ["progress", "coverage", "coveralls"],

coverageReporter: {
dir: "build/reports/coverage",
dir: "logs/reports/coverage",
reporters: [{
type: "lcov",
subdir: "lcov"
Expand Down
Empty file added logs/.gitignore
Empty file.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
"jscs": "jscs --esnext src",
"jscs:fix": "jscs --esnext --fix bin/ src/locale/ src/js/ src/js/lib/ src/test/ src/test/lib",
"pretest": "npm run generate-offline-files && npm run jshint && npm run jscs",
"posttest": "awk 'FNR==1{print \"\"}1' ./build/reports/coverage/text-summary.txt ./build/reports/coverage/text.txt"
"posttest": "awk 'FNR==1{print \"\"}1' ./logs/reports/coverage/text-summary.txt ./logs/reports/coverage/text.txt"
}
}

0 comments on commit f9c68f0

Please sign in to comment.