Skip to content

Commit

Permalink
Add Travis 'env' to run tests with '--release'.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Jan 13, 2018
1 parent 68b49f5 commit 267e048
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 267e048

Please sign in to comment.