-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-Enable Travis via travis.com (#112)
* Enable travis * add build.r to re-enable try_from
- Loading branch information
1 parent
b517f23
commit 1d27788
Showing
4 changed files
with
13 additions
and
17 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ rust: | |
- stable | ||
- beta | ||
- nightly | ||
- 1.26.0 | ||
- 1.31.1 | ||
matrix: | ||
allow_failures: | ||
- rust: nightly | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
fn main() { | ||
// Check if version of rustc is >= 1.34 | ||
if let Some(true) = version_check::is_min_version("1.34.0") { | ||
println!("cargo:rustc-cfg=try_from"); | ||
} | ||
} |
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,15 +1 @@ | ||
cd ./strum | ||
cargo build --verbose | ||
cargo test --verbose | ||
|
||
cd .. | ||
cd ./strum_tests | ||
cargo build --verbose | ||
cargo test --verbose | ||
|
||
cd .. | ||
cd ./strum_tests_rename | ||
cargo build --verbose | ||
cargo test --verbose | ||
|
||
cd .. | ||
cargo test --verbose |