-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional support for SmallVec as underlying peekable queue (#8)
Current version does not enable smallvec by default because it currently still requires a nightly compiler. With the recent stabilization of liballoc, smallvec may add support for the stable compiler in combination with no_std soon =).
- Loading branch information
1 parent
26c48be
commit 7d549d5
Showing
5 changed files
with
71 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
cargo build --verbose --all | ||
cargo test --verbose --all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.ci/test.sh | ||
cargo +nightly build --verbose --all --features smallvec | ||
cargo +nightly test --verbose --all --features smallvec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,27 @@ | ||
language: rust | ||
rust: | ||
- stable | ||
- nightly | ||
os: | ||
- linux | ||
- windows | ||
before_install: | ||
- if [ $TRAVIS_OS_NAME=linux ]; then chmod +x -R .ci; fi | ||
|
||
matrix: | ||
allow_failures: | ||
- rust: nightly | ||
- env: ALLOW_FAILURE=1 | ||
fast_finish: true | ||
script: | ||
- cargo build --verbose --all | ||
- cargo test --verbose --all | ||
include: | ||
- name: "stable->linux" | ||
rust: stable | ||
os: linux | ||
script: .ci/test.sh | ||
- name: "stable->windows" | ||
rust: stable | ||
os: windows | ||
script: .ci/test.sh | ||
- name : "nightly->linux" | ||
rust: nightly | ||
os: linux | ||
env: ALLOW_FAILURE=1 | ||
script: .ci/test_nightly.sh | ||
- name: "nightly->windows" | ||
rust: nightly | ||
os: windows | ||
env: ALLOW_FAILURE=1 | ||
script: .ci/test_nightly.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters