Add Travis 'env' to run tests with '--release'.

This commit is contained in:
Sergio Benitez 2018-01-13 09:27:03 -08:00
parent 0d9731fbe6
commit 4fe30711a3
1 changed files with 4 additions and 1 deletions

View File

@ -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