build: transition to circle 2 and cache test fixtures in CI #634
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change migrates Linux-based CI completely to CircleCI (2.0), and adds caching of
node_modules
(invalidated when eitherpackage-lock.json
orpackage.json
change) andbuild/test/plugins/fixtures
(invalidated whentest/fixtures/plugin-fixtures.json
changes) to both CircleCI and AppVeyor. This results in a 5-8 min speedup for each test run across CircleCI and AppVeyor.delete all plugin fixtures
test/plugins/fixtures
in favor ofplugin-fixtures.json
fix CI failures
modify scripts
export default
encrypt-service-account-credentials
script to regenerate encrypted system test credentials (for future use; this is meant to be used manually and infrequently)init-test-fixtures
script to generate plugin fixtures based offplugin-fixtures.json
fileplugin-fixtures.json
update system test key file
encrypt-service-account-credentials
to regenerate a new encrypted key file (new encryption details have been added to CircleCI as env vars)update CI configurations
.travis.yml
andcircle.yml
.circleci/config.yml
(w/ caching)appveyor.yml
to add caching and change list of commands to runupdate package-lock.json