From 267e04883b82eace384020c2d619de64b996e2fc Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Sat, 13 Jan 2018 09:27:03 -0800 Subject: [PATCH] Add Travis 'env' to run tests with '--release'. --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 98cf7d6b..aef50ad6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: rust sudo: required # so we get a VM with higher specs dist: trusty # so we get a VM with higher specs cache: cargo +env: + - TEST_FLAGS= + - TEST_FLAGS=--release rust: - nightly -script: ./scripts/test.sh +script: ./scripts/test.sh $TEST_FLAGS