From 5a95cb3c1fafb476b3881e6c955acd2f699d610f Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 9 Jul 2018 11:34:24 -0500 Subject: [PATCH] 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 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 60a7a9d3..1dc12c8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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