Skip to content

Commit

Permalink
Bench only on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
afonso360 committed Apr 30, 2017
1 parent 6a79d4d commit 15f7b57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ build_script:

test_script:
- cargo test --verbose %cargoflags%

- IF %channel%==nightly cargo bench --verbose %cargoflags%
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ before_script:
script:
- cargo build --verbose $CARGO_FLAGS
- cargo test --verbose $CARGO_FLAGS
- cargo bench --verbose $CARGO_FLAGS
- cargo doc --verbose $CARGO_FLAGS
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
cargo bench --verbose $CARGO_FLAGS;
fi

after_success:
- cargo fmt -- --write-mode=diff
Expand Down

0 comments on commit 15f7b57

Please sign in to comment.