Skip to content

Commit 5a95cb3

Browse files
authored
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
1 parent 3c38ba2 commit 5a95cb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ matrix:
3838
# to run `npm install` twice or by using `npm ci` (which is currently broken)
3939
- npm install
4040
script:
41-
- cargo test
41+
- cargo test --release
4242
# Check JS output from all tests against eslint
4343
- npm run run-lint-generated-tests
4444
# Check Examples against eslint
45-
- npm run run-lint-examples
45+
- npm run run-lint-examples
4646
addons:
4747
firefox: latest
4848

0 commit comments

Comments
 (0)