Skip to content

Commit

Permalink
Improve .travis.yml
Browse files Browse the repository at this point in the history
* Fix a typo ('evn' -> 'env') (.travis.yml)

* Be verbose and test all (.travis.yml)

* Run 'cargo fmt'
  • Loading branch information
Temirkhan Myrzamadi authored and Xudong-Huang committed May 17, 2019
1 parent ef47828 commit 5f771a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ rust:
- stable
- nightly

evn:
env:
- RUST_BACKTRACE=1

script:
- cargo test
- cargo test --verbose --all
5 changes: 1 addition & 4 deletions tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,7 @@ fn go_with_macro() {

go_with!("test_task", 10240, move || {
let task = coroutine::current();
let msg = (
task.name().map(ToOwned::to_owned),
task.stack_size(),
);
let msg = (task.name().map(ToOwned::to_owned), task.stack_size());
tx2.send(msg).unwrap();
})
.unwrap()
Expand Down

0 comments on commit 5f771a3

Please sign in to comment.