Test in release mode on Travis (#431)

Contrary to #393 it looks like it's a big win now with the number of tests
we have. Tested in #429 it was confirmed that multiple threads are indeed
benefitting us here. A [debug build][1] took 22m while a [release build][2] took
15m.

[1]: https://travis-ci.org/rustwasm/wasm-bindgen/jobs/401819002
[2]: https://travis-ci.org/rustwasm/wasm-bindgen/jobs/401819004
This commit is contained in:
Alex Crichton 2018-07-09 11:34:24 -05:00 committed by GitHub
parent 3c38ba258c
commit 5a95cb3c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,11 +38,11 @@ matrix:
# to run `npm install` twice or by using `npm ci` (which is currently broken)
- npm install
script:
- cargo test
- cargo test --release
# Check JS output from all tests against eslint
- npm run run-lint-generated-tests
# Check Examples against eslint
- npm run run-lint-examples
- npm run run-lint-examples
addons:
firefox: latest