Skip to content

Faster test builds - #2457

Merged
lukastaegert merged 3 commits into
masterfrom
faster-test-builds
Sep 16, 2018
Merged

Faster test builds#2457
lukastaegert merged 3 commits into
masterfrom
faster-test-builds

Conversation

@lukastaegert

Copy link
Copy Markdown
Member

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

With #2437, test speed decreased significantly due to the noticeably slower minified browser builds. This PR fixes this by adding a special build:test script that excludes the browser builds and is run before tests.

This also modifies the prepublish script to use the build:bootstrap script to always create Rollup using the upcoming version when publishing.

To have different builds, the config file now reads the command options, a feature that was added in #1926. To not have warnings due to unknown options, the command object is cleaned up in the config file. Another test is added to make sure it is possible to modify the command options in the config file so that we do not break this in the future.

@lukastaegert
lukastaegert merged commit d5a910d into master Sep 16, 2018
@lukastaegert
lukastaegert deleted the faster-test-builds branch September 16, 2018 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant