Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: karma-runner/karma
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fe8d4e25b61541cf0b6babcf5907099e0637a8be
Choose a base ref
...
head repository: karma-runner/karma
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 16010eb53d184dd88cbb8724b5ed566609310c0c
Choose a head ref

Commits on Feb 12, 2016

  1. Copy the full SHA
    82cd0df View commit details

Commits on Feb 16, 2016

  1. Merge pull request #1874 from karol-f/wip/master/server_port

    feat(server): add 'listening' event with port number
    dignifiedquire committed Feb 16, 2016
    Copy the full SHA
    47066ea View commit details

Commits on Feb 18, 2016

  1. fix(reporter): Disable source maps for URLs without line number

    There is no way to resolve them in this case anyway. Fixes #1274.
    davidparsson committed Feb 18, 2016
    Copy the full SHA
    2080221 View commit details
  2. test(unit): Throw the expected exception

    Before, the exception was thrown in MockSourceMapConsumer's
    constructor and not in its originalPositionFor() function,
    which however was the expected thing to happen.
    davidparsson committed Feb 18, 2016
    Copy the full SHA
    2d943cf View commit details
  3. Merge pull request #1915 from davidparsson/fix/no-line-number-no-sour…

    …ce-map
    
    fix(reporter): Disable source maps for URLs without line number
    dignifiedquire committed Feb 18, 2016
    Copy the full SHA
    c3f00c7 View commit details
  4. Merge pull request #1914 from davidparsson/fix/throw-expected-exception

    fix(test): Throw the expected exception
    dignifiedquire committed Feb 18, 2016
    Copy the full SHA
    e81c3c7 View commit details
  5. feat(file-list): Upgrade bluebird to v.3

    Ruben Bridgewater committed Feb 18, 2016
    Copy the full SHA
    f5c252f View commit details
  6. test(unit): check file_list_modified emitted only once

    Ruben Bridgewater committed Feb 18, 2016
    Copy the full SHA
    af0bc5b View commit details
  7. Merge pull request #1904 from BridgeAR/master

    chore(dependencies): update bluebird v.3
    dignifiedquire committed Feb 18, 2016
    Copy the full SHA
    e4b640a View commit details
  8. Copy the full SHA
    d9d61a3 View commit details
  9. Copy the full SHA
    64e301b View commit details

Commits on Feb 19, 2016

  1. Copy the full SHA
    7377147 View commit details
  2. Copy the full SHA
    acd2146 View commit details
  3. Merge pull request #1919 from karma-runner/greenkeeper-eslint-2.2.0

    eslint@2.2.0 breaks build ⚠️
    dignifiedquire committed Feb 19, 2016
    Copy the full SHA
    fae721e View commit details
  4. Merge pull request #1918 from karma-runner/greenkeeper-eslint-plugin-…

    …react-4.0.0
    
    Update eslint-plugin-react to version 4.0.0 🚀
    dignifiedquire committed Feb 19, 2016
    Copy the full SHA
    0f1b1ec View commit details

Commits on Feb 20, 2016

  1. Copy the full SHA
    225c0e5 View commit details

Commits on Feb 21, 2016

  1. Copy the full SHA
    188d770 View commit details
  2. feat: Add possibility to stop a karma server

    Add detached mode using the `karma start --detached` command.
    Add middleware for stopping a server (detached or not).
    Described the detached option.
    budde377 committed Feb 21, 2016
    Copy the full SHA
    66ae80b View commit details
  3. feat: Add stopper to the public API

    Add the `stopper`  as a command to the public API allowing for enabling users to
    programically terminate a running server.
    budde377 committed Feb 21, 2016
    Copy the full SHA
    3d4fa00 View commit details
  4. feat(stopper): Enable programically detached server

    When setting `detached=true` in config, the server will start
    detached.
    budde377 committed Feb 21, 2016
    Copy the full SHA
    f10fd81 View commit details
  5. fix: Setting default value for config in runner and stopper

    Default config to empty Object if undefined.
    budde377 committed Feb 21, 2016
    Copy the full SHA
    414db89 View commit details
  6. Merge pull request #1920 from mesaugat/docs-fix-json-format

    docs(config): Use double quotes for json
    dignifiedquire committed Feb 21, 2016
    Copy the full SHA
    eddd9de View commit details
  7. feat(logging): Add logging-setup function

    Add a setup-function for setting up the log-level and colors from config.
    budde377 committed Feb 21, 2016
    Copy the full SHA
    d14bd62 View commit details
  8. fix: Change timing on test

    Change the timing on tests, allowing Node 0.10 to catch-up.
    budde377 committed Feb 21, 2016
    Copy the full SHA
    0cb6204 View commit details

Commits on Feb 22, 2016

  1. Merge pull request #1854 from budde377/feature-stop-karma-server

    Add possibility to stop a karma server
    dignifiedquire committed Feb 22, 2016
    Copy the full SHA
    6fe5a77 View commit details
  2. Copy the full SHA
    d22c0c3 View commit details
  3. Merge pull request #1825 from ernsheong/custom-html-setup

    feat(config): Allow custom context and debug files
    dignifiedquire committed Feb 22, 2016
    Copy the full SHA
    9defd92 View commit details
  4. Merge pull request #1921 from karma-runner/greenkeeper-supertest-as-p…

    …romised-3.0.0
    
    Update supertest-as-promised to version 3.0.0 🚀
    dignifiedquire committed Feb 22, 2016
    Copy the full SHA
    db4ada5 View commit details
  5. feat(preprocessors): if a file matches multiple preprocessor patterns…

    …, intelligently merge the list of preprocessors, deduping and trying to preserve the order
    
    This could be a breaking change, some users might rely on the old order, or on some preprocessors being run multiple times
    sjelin committed Feb 22, 2016
    Copy the full SHA
    59642a6 View commit details
  6. feat(logging): Add colors and log-level options to run-command

     Add colors and log-level arguments to run argument.
     Refactor log-setup functions for server and init.
     Correct bug in server where log-level was ignored before `parseConfig`
    
    Closing #1067
    budde377 committed Feb 22, 2016
    Copy the full SHA
    9d4e234 View commit details
  7. feat(logging): Send color option to server

    Delay the decision on color/no-color reporter to write. This is
    done by letting the individual adapter decide the color and providing
    a default color to the base adapter.
    
    Closing #1067
    budde377 committed Feb 22, 2016
    Copy the full SHA
    287d0db View commit details
  8. fix(reporters): Fix results not being reported

    Fix problems:
     * Not relying on Reporter.USE_COLORS property
     * Construct factory with right configuration
    budde377 committed Feb 22, 2016
    Copy the full SHA
    6303566 View commit details
  9. feat(reporters): Look for color-reporter

    When loading a reporter, look for a color-version of this.
    budde377 committed Feb 22, 2016
    5
    Copy the full SHA
    fd9262d View commit details
  10. test(reporter): Add mocha test

     Add a test of the karma-mocha-reporter. Testing that it outputs
     correctly.
    budde377 committed Feb 22, 2016
    Copy the full SHA
    76cdd60 View commit details
  11. Merge pull request #1902 from budde377/feature-fix-no-colors-to-run-c…

    …ommand
    
    Feature fix no colors to run command
    dignifiedquire committed Feb 22, 2016
    Copy the full SHA
    d3bec1e View commit details

Commits on Feb 24, 2016

  1. Merge pull request #1899 from sjelin/preprocessorOrder

    feat(config): Add `preprocessorOrder` option to config for when prepr…
    dignifiedquire committed Feb 24, 2016
    Copy the full SHA
    a751293 View commit details

Commits on Feb 26, 2016

  1. docs: Including reference to Windows port of nvm

    Change information on how to use node.js on Windows
    aaronpowell committed Feb 26, 2016
    Copy the full SHA
    dff76d1 View commit details
  2. Merge pull request #1933 from aaronpowell/patch-1

    docs: Including reference to Windows port of nvm
    dignifiedquire committed Feb 26, 2016
    Copy the full SHA
    8d5d441 View commit details

Commits on Feb 28, 2016

  1. Copy the full SHA
    f39dd04 View commit details
  2. Merge pull request #1940 from delftswa2016/fix-time-unit-reconnecting

    fix(updater): Fix time unit on screen display from 'ms' to 'seconds'.
    dignifiedquire committed Feb 28, 2016
    Copy the full SHA
    9dbfac8 View commit details
  3. fix(karma): Escape quotes for file names. This fixes issue #1876.

    fix(karma): Escape quotes for file names. This fixes issue #1876.
    Moumi committed Feb 28, 2016
    Copy the full SHA
    9dff3f3 View commit details

Commits on Feb 29, 2016

  1. Merge pull request #1938 from delftswa2016/fix-issue-escape-single-qu…

    …otes
    
    fix(karma): Fix issue regarding escape quotes
    dignifiedquire committed Feb 29, 2016
    Copy the full SHA
    c507821 View commit details

Commits on Mar 1, 2016

  1. feat: Fail on launcher-, reporter-, plugin-, or preprocessor-load err…

    …ors.
    
    Stop karma if a launcher, reporter, plugin, or preprocessor fails to
    load, after attempting to load each of them, and reporting errors for
    each load error.
    
    Closes #855
    srawlins authored and budde377 committed Mar 1, 2016
    Copy the full SHA
    fca930e View commit details

Commits on Mar 2, 2016

  1. docs(config): docs(dev): Fix broken links in documentation.

    Fix broken links found in `dev\contributing.md` and `config\preprocessors.md`.
    Moumi committed Mar 2, 2016
    Copy the full SHA
    f7e81cc View commit details
  2. docs: Fix grammar in the documentation files.

    Fix gramma in multiple documentation files, as they contained some grammar mistakes. It looks more professional with correct grammar.
    Moumi committed Mar 2, 2016
    Copy the full SHA
    bb9ec1d View commit details

Commits on Mar 3, 2016

  1. Merge pull request #1945 from delftswa2016/fix-broken-links-docs

    fix(docs): Fix broken links in documentation
    dignifiedquire committed Mar 3, 2016
    Copy the full SHA
    63ae748 View commit details
  2. Merge pull request #1943 from delftswa2016/fix-grammar-overall

    fix(docs): Fix grammar overall
    dignifiedquire committed Mar 3, 2016
    Copy the full SHA
    b48ed44 View commit details
  3. Copy the full SHA
    ad87290 View commit details

Commits on Mar 4, 2016

  1. Merge pull request #1960 from karma-runner/greenkeeper-karma-script-l…

    …auncher-0.2.0
    
    Update karma-script-launcher to version 0.2.0 🚀
    dignifiedquire committed Mar 4, 2016
    Copy the full SHA
    c99aa4e View commit details
  2. Merge pull request #1931 from budde377/issue-855-fail-on-load-errors

    feat: Fail on load-errors.
    dignifiedquire committed Mar 4, 2016
    Copy the full SHA
    e83bfd7 View commit details
Showing with 27,611 additions and 5,538 deletions.
  1. +5 −1 .eslintignore
  2. +0 −4 .eslintrc
  3. +7 −0 .eslintrc.json
  4. +10 −0 .github/ISSUE_TEMPLATE/bug_report.md
  5. +3 −1 .gitignore
  6. +1 −0 .mailmap
  7. +0 −1 .npmignore
  8. +42 −31 .travis.yml
  9. +740 −20 CHANGELOG.md
  10. +2 −2 CONTRIBUTING.md
  11. +14 −0 ISSUE_TEMPLATE.md
  12. +1 −1 LICENSE
  13. +3 −3 README.md
  14. +36 −0 appveyor.yml
  15. +2 −0 client/constants.js
  16. +180 −115 client/karma.js
  17. +8 −6 client/main.js
  18. +22 −9 client/updater.js
  19. +1 −0 commitlint.config.js
  20. +34 −5 {client → common}/stringify.js
  21. 0 {client → common}/util.js
  22. +3 −2 config.tpl.coffee
  23. +3 −2 config.tpl.js
  24. +3 −3 config.tpl.ls
  25. +68 −0 config.tpl.ts
  26. +161 −0 context/karma.js
  27. +21 −0 context/main.js
  28. BIN credentials
  29. +13 −0 cucumber.js
  30. +5 −13 docs/about/01-versioning.md
  31. +1 −3 docs/about/03-migration.md
  32. +321 −23 docs/config/01-configuration-file.md
  33. +40 −5 docs/config/02-files.md
  34. +19 −20 docs/config/03-browsers.md
  35. +49 −3 docs/config/04-preprocessors.md
  36. +7 −7 docs/dev/01-contributing.md
  37. +15 −14 docs/dev/02-making-changes.md
  38. +14 −2 docs/dev/03-maintaining.md
  39. +121 −4 docs/dev/04-public-api.md
  40. +16 −4 docs/dev/05-plugins.md
  41. +14 −4 docs/dev/06-git-commit-msg.md
  42. +4 −4 docs/intro/01-installation.md
  43. +7 −7 docs/intro/02-configuration.md
  44. +23 −2 docs/intro/03-how-it-works.md
  45. +6 −7 docs/intro/04-faq.md
  46. +30 −5 docs/intro/05-troubleshooting.md
  47. +5 −5 docs/plus/01-requirejs.md
  48. +21 −13 docs/plus/02-travis.md
  49. +18 −18 docs/plus/04-semaphore.md
  50. +1 −1 docs/plus/05-cloud9.md
  51. +4 −4 docs/plus/09-codio.md
  52. +5 −5 docs/plus/10-teamcity.md
  53. +9 −44 gruntfile.js
  54. +191 −175 lib/browser.js
  55. +70 −72 lib/browser_collection.js
  56. +14 −9 lib/browser_result.js
  57. +111 −91 lib/cli.js
  58. +42 −80 lib/completion.js
  59. +258 −163 lib/config.js
  60. +15 −2 lib/constants.js
  61. +11 −0 lib/detached.js
  62. +23 −21 lib/emitter_wrapper.js
  63. +33 −53 lib/events.js
  64. +76 −35 lib/executor.js
  65. +199 −346 lib/file-list.js
  66. +36 −22 lib/file.js
  67. +116 −40 lib/helper.js
  68. +12 −7 lib/index.js
  69. +59 −91 lib/init.js
  70. +2 −2 lib/init/color_schemes.js
  71. +72 −86 lib/init/formatters.js
  72. +15 −0 lib/init/log-queue.js
  73. +50 −48 lib/init/state_machine.js
  74. +122 −126 lib/launcher.js
  75. +36 −26 lib/launchers/base.js
  76. +10 −11 lib/launchers/capture_timeout.js
  77. +67 −29 lib/launchers/process.js
  78. +11 −14 lib/launchers/retry.js
  79. +74 −21 lib/logger.js
  80. +54 −62 lib/middleware/common.js
  81. +165 −94 lib/middleware/karma.js
  82. +60 −79 lib/middleware/proxy.js
  83. +61 −43 lib/middleware/runner.js
  84. +38 −28 lib/middleware/source_files.js
  85. +18 −0 lib/middleware/stopper.js
  86. +4 −11 lib/middleware/strip_host.js
  87. +29 −26 lib/plugin.js
  88. +110 −92 lib/preprocessor.js
  89. +89 −72 lib/reporter.js
  90. +76 −56 lib/reporters/base.js
  91. +1 −1 lib/reporters/base_color.js
  92. +5 −5 lib/reporters/dots.js
  93. +5 −4 lib/reporters/dots_color.js
  94. +12 −11 lib/reporters/multi.js
  95. +7 −4 lib/reporters/progress.js
  96. +5 −4 lib/reporters/progress_color.js
  97. +36 −26 lib/runner.js
  98. +354 −283 lib/server.js
  99. +39 −0 lib/stopper.js
  100. +13 −12 lib/temp_dir.js
  101. +25 −11 lib/url.js
  102. +26 −0 lib/utils/bundle-utils.js
  103. +14 −0 lib/utils/crypto-utils.js
  104. +25 −0 lib/utils/file-utils.js
  105. +10 −0 lib/utils/json-utils.js
  106. +27 −0 lib/utils/net-utils.js
  107. +16 −0 lib/utils/path-utils.js
  108. +14 −0 lib/utils/pattern-utils.js
  109. +57 −90 lib/watcher.js
  110. +84 −69 lib/web-server.js
  111. +15,702 −0 package-lock.json
  112. +258 −128 package.json
  113. +22 −0 release.config.js
  114. +7 −7 requirejs.config.tpl.js
  115. +38 −0 scripts/validate-commit-msg.sh
  116. +1 −1 static/client.html
  117. +125 −0 static/client_with_context.html
  118. +10 −8 static/context.html
  119. +9 −27 static/debug.html
  120. +28 −0 static/debug.js
  121. +2 −2 tasks/init-dev-env.js
  122. +9 −9 tasks/test.js
  123. +4 −2 test/.eslintrc
  124. +42 −26 test/client/karma.conf.js
  125. +205 −103 test/client/karma.spec.js
  126. +3 −3 test/client/mocks.js
  127. +41 −15 test/client/stringify.spec.js
  128. +2 −2 test/client/util.spec.js
  129. +4 −21 test/e2e/basic.feature
  130. +215 −0 test/e2e/browser_console.feature
  131. +171 −0 test/e2e/cli.feature
  132. +22 −0 test/e2e/custom-context.feature
  133. +6 −6 test/e2e/displayname.feature
  134. +25 −3 test/e2e/error.feature
  135. +175 −0 test/e2e/files.feature
  136. +3 −3 test/e2e/headers.feature
  137. +24 −0 test/e2e/helpful-logs.feature
  138. +20 −0 test/e2e/launcher-error.feature
  139. +102 −0 test/e2e/load.feature
  140. +44 −0 test/e2e/middleware.feature
  141. +48 −0 test/e2e/mocharepoter.feature
  142. +35 −0 test/e2e/module-types.feature
  143. +9 −6 test/e2e/pass-opts.feature
  144. +27 −8 test/e2e/proxy.feature
  145. +8 −3 test/e2e/reconnecting.feature
  146. +26 −0 test/e2e/reporting.feature
  147. +46 −0 test/e2e/runInParent.feature
  148. +144 −0 test/e2e/step_definitions/core_steps.js
  149. +10 −0 test/e2e/step_definitions/hooks.js
  150. +15 −0 test/e2e/step_definitions/utils.js
  151. +0 −162 test/e2e/steps/core_steps.js
  152. +63 −0 test/e2e/stop.feature
  153. +0 −10 test/e2e/support/after_hooks.js
  154. +5 −0 test/e2e/support/behind-proxy/plus.js
  155. +10 −0 test/e2e/support/behind-proxy/test.js
  156. +6 −0 test/e2e/support/browser-console/log.js
  157. +5 −0 test/e2e/support/browser-console/test.js
  158. +34 −0 test/e2e/support/context/context2.html
  159. +5 −0 test/e2e/support/context/test.js
  160. +3 −0 test/e2e/support/env.js
  161. +2 −0 test/e2e/support/files/log_foo.js
  162. +5 −0 test/e2e/support/files/test.js
  163. +1 −1 test/e2e/support/headers/test.js
  164. +4 −0 test/e2e/support/launcher-error/fake-browser.sh
  165. +5 −0 test/e2e/support/launcher-error/specs.js
  166. +21 −0 test/e2e/support/middleware/middleware.js
  167. +14 −0 test/e2e/support/middleware/test.js
  168. +5 −0 test/e2e/support/mocha/plus.js
  169. +10 −0 test/e2e/support/mocha/test.js
  170. +11 −0 test/e2e/support/modules/__tests__/minus.test.mjs
  171. +11 −0 test/e2e/support/modules/__tests__/plus.test.js
  172. +4 −0 test/e2e/support/modules/minus.mjs
  173. +4 −0 test/e2e/support/modules/plus.js
  174. +48 −0 test/e2e/support/proxy.js
  175. +11 −0 test/e2e/support/proxy/plugin.js
  176. +1 −1 test/e2e/support/proxy/test.js
  177. +3 −2 test/e2e/support/reconnecting/test.js
  178. +9 −0 test/e2e/support/reporting/test.js
  179. +14 −0 test/e2e/support/tag/tag.js
  180. +6 −0 test/e2e/support/tag/test-with-version.js
  181. +6 −0 test/e2e/support/tag/test-without-version.js
  182. +151 −47 test/e2e/support/world.js
  183. +72 −0 test/e2e/tag.feature
  184. +2 −2 test/e2e/timeout.feature
  185. +25 −0 test/e2e/upstream-proxy.feature
  186. +155 −102 test/unit/browser.spec.js
  187. +152 −67 test/unit/browser_collection.spec.js
  188. +8 −6 test/unit/browser_result.spec.js
  189. +73 −37 test/unit/cli.spec.js
  190. +6 −4 test/unit/completion.spec.js
  191. +175 −98 test/unit/config.spec.js
  192. +10 −8 test/unit/emitter_wrapper.spec.js
  193. +45 −31 test/unit/events.spec.js
  194. +83 −30 test/unit/executor.spec.js
  195. +400 −202 test/unit/file-list.spec.js
  196. +15 −0 test/unit/file.spec.js
  197. +3 −0 test/unit/fixtures/format-error-property.js
  198. +4 −0 test/unit/fixtures/format-error-root.js
  199. +149 −39 test/unit/helper.spec.js
  200. +11 −0 test/unit/index.spec.js
  201. +50 −49 test/unit/init.spec.js
  202. +15 −13 test/unit/init/formatters.spec.js
  203. +36 −36 test/unit/init/state_machine.spec.js
  204. +183 −116 test/unit/launcher.spec.js
  205. +63 −82 test/unit/launchers/base.spec.js
  206. +12 −14 test/unit/launchers/capture_timeout.spec.js
  207. +125 −38 test/unit/launchers/process.spec.js
  208. +12 −11 test/unit/launchers/retry.spec.js
  209. +31 −6 test/unit/logger.spec.js
  210. +210 −56 test/unit/middleware/karma.spec.js
  211. +80 −38 test/unit/middleware/proxy.spec.js
  212. +324 −214 test/unit/middleware/runner.spec.js
  213. +127 −32 test/unit/middleware/source_files.spec.js
  214. +16 −49 test/unit/middleware/strip_host.spec.js
  215. +10 −47 test/unit/mocha-globals.js
  216. +2 −2 test/unit/mocks/timer.js
  217. +364 −147 test/unit/preprocessor.spec.js
  218. +190 −70 test/unit/reporter.spec.js
  219. +168 −23 test/unit/reporters/base.spec.js
  220. +43 −0 test/unit/reporters/progress.spec.js
  221. +25 −23 test/unit/runner.spec.js
  222. +281 −65 test/unit/server.spec.js
  223. +30 −0 test/unit/url.spec.js
  224. +42 −0 test/unit/utils/bundle-utils.spec.js
  225. +9 −0 test/unit/utils/crypto-utils.spec.js
  226. +18 −0 test/unit/utils/json-utils.spec.js
  227. +38 −0 test/unit/utils/net-utils.spec.js
  228. +9 −0 test/unit/utils/path-utils.spec.js
  229. +33 −0 test/unit/utils/pattern-utils.spec.js
  230. +16 −47 test/unit/watcher.spec.js
  231. +118 −31 test/unit/web-server.spec.js
  232. +37 −21 wallaby.js
6 changes: 5 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
test/e2e/support/error/under-test.js
test/e2e/support/sandbox
test/e2e/support/error/under-test.js
test/unit/fixtures/bundled.js
static/karma.js
static/context.js
4 changes: 0 additions & 4 deletions .eslintrc

This file was deleted.

7 changes: 7 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "standard",
"rules": {
"arrow-parens": [2, "always"],
"space-before-function-paren": ["error", "always"]
}
}
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Bug report
about: Create an actionable bug report
title: ''
labels: ''
assignees: ''

---

Please read http://karma-runner.github.io/4.0/intro/troubleshooting.html first
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
node_modules
npm-debug.log
static/context.js
static/karma.js
.idea/*
*.iml
tmp/*
docs/_build
*.swp
*.swo
test/e2e/support/sandbox
test/e2e/coverage/coverage
test/e2e/coverageQunit/coverage
test/e2e/coverageRequirejs/coverage
test/e2e/coffee-coverage/coverage
test-results.xml
test/unit/test.log
test/unit/fixtures/bundled.js
.DS_Store
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<bitwiseman@gmail.com> <lnewman@book.com>
<vojta.jina@gmail.com> <vojta@google.com>
<friedel.ziegelmayer@gmail.com> <dignifiedquire@gmail.com>
Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@
tmp
test
tasks
scripts
docs
client
logo
73 changes: 42 additions & 31 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,50 @@
sudo: false
os: linux
dist: xenial
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "5"

env:
global:
- SAUCE_USERNAME: karmarunnerbot
- secure: "bRVY+hYZwMf1SqVnMyZRJTLD0gN1hLx9/MwO8MM/qBiu3YNjXy49XElfMdzMKN6cZeKTmhcnjmZonbJuI1PQ2t+utGkyjnlVLJ/OlWptreKLzIlcbt4hrdPoTcjmUTwDWq9Ex9cVoYX8AzCasETttpczp3P+s3+vmOUj8z25JyU="
- CXX=g++-4.8
jobs:
include:
- node_js: "10"
script:
- npm run init
- npm run build
- npm run test:unit
- npm run test:e2e

- node_js: "12"
script:
- npm run init
- npm run build
- npm run test:unit
- npm run test:e2e

- node_js: "14"
script:
- npm run init
- echo "TRAVIS_COMMIT $TRAVIS_COMMIT"
- echo "TRAVIS_PULL_REQUEST_SHA $TRAVIS_PULL_REQUEST_SHA"
- COMMIT_TO_VALIDATE=${TRAVIS_PULL_REQUEST_SHA:-$TRAVIS_COMMIT}
- echo "COMMIT_TO_VALIDATE $COMMIT_TO_VALIDATE"
- ./scripts/validate-commit-msg.sh $COMMIT_TO_VALIDATE
- npm run lint
- npm run build
- npm run test:unit
- npm run test:e2e
- npm run test:client
- npm run test:integration

after_success:
# run automated release process with semantic-release
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, TRAVIS_EVENT_TYPE=$TRAVIS_EVENT_TYPE
- if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "push" ]]; then
npm run semantic-release;
fi;

# Make sure we have a new npm on Node 0.10. npm >= 2 should work so by not updating them
# here we have proper version coverage, especially that most people use the npm version
# that's included in a Node version they use.
before_install:
- '[ "${TRAVIS_NODE_VERSION}" != "0.10" ] || npm install -g npm'
- npm config set loglevel warn
- g++-4.8 --version

addons:
firefox:
"latest"
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8

before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm run init
- export $(openssl aes-256-cbc -pass env:CREDENTIALS_PASS -d -in credentials)
firefox: "latest"

script:
- npm run travis
services:
- xvfb
Loading