Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis: add a check against false positives
This adds an additional check to the Travis build. PR 2 added `exclude`s to the `RandomCompat` ruleset to prevent false positives being generated when the ruleset would be run against the code of the polyfill itself. PR x does the same for the `SodiumCompat` ruleset. As the polyfills may, of course, be updated over time, we need to ensure that these excludes are still sufficient. This adds a `dev` dependency on the actual polyfills and a check to Travis to make sure that if the ruleset is run over the polyfill code, no errors are thrown. **Note**: this check may start failing without notice because of changes in the polyfills, but that's exactly what this check is guarding against and will prevent us from releasing a version which doesn't have the right excludes in place. In addition to this, an automatic weekly/monthly Travis run on `master` should be turned on to make sure this check is run on a semi-regular basis. _For now, I've turned an automatic monthly check on_ Additionally: * I've also merged the duplicate `cache` key in the Travis script. * And the integration tests now run against an open-ended `testVersion`.
- Loading branch information