| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,3 +23,7 @@ rules: | |||
| 23 | 23 | semi: | |
| 24 | 24 | - error | |
| 25 | 25 | - always | |
| 26 | + no-console: | ||
| 27 | + - error | ||
| 28 | + - allow: | ||
| 29 | + - error | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,4 +18,4 @@ before_install: | |||
| 18 | 18 | before_script: | |
| 19 | 19 | - npm install | |
| 20 | 20 | script: | |
| 21 | - - if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then gulp ci; else gulp test-pr; fi | ||
| 21 | + - if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then npm run lint && npm run test-ci; else npm run test-pr; fi | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | module.exports = function(config) { | |
| 2 | 2 | if (!process.env.SAUCE_USERNAME || !process.env.SAUCE_ACCESS_KEY) { | |
| 3 | - console.log('Make sure the SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables are set.'); | ||
| 3 | + console.error('Make sure the SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables are set.'); | ||
| 4 | 4 | process.exit(1); | |
| 5 | 5 | } | |
| 6 | 6 | ||
@@ -156,7 +156,7 @@ module.exports = function(config) { | |||
| 156 | 156 | }, | |
| 157 | 157 | customLaunchers: customLaunchers, | |
| 158 | 158 | browsers: Object.keys(customLaunchers), | |
| 159 | - reporters: ['dots', 'saucelabs', 'coverage'], | ||
| 159 | + reporters: ['dots', 'saucelabs', 'coverage', 'coveralls'], | ||
| 160 | 160 | preprocessors: { | |
| 161 | 161 | 'stackframe.js': 'coverage' | |
| 162 | 162 | }, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments