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

This commit is contained in:
Sergio Benitez 2018-01-13 09:27:03 -08:00
parent 68b49f5d74
commit 267e04883b
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 sudo: required # so we get a VM with higher specs
dist: trusty # so we get a VM with higher specs dist: trusty # so we get a VM with higher specs
cache: cargo cache: cargo
env:
- TEST_FLAGS=
- TEST_FLAGS=--release
rust: rust:
- nightly - nightly
script: ./scripts/test.sh script: ./scripts/test.sh $TEST_FLAGS