diff --git a/.travis.yml b/.travis.yml index b231cd27..0f31dc5f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,12 @@ language: rust sudo: false cache: cargo +branches: + only: + - master + - staging + - trying + matrix: fast_finish: true @@ -13,6 +19,9 @@ matrix: - rust: stable - rust: beta - rust: nightly + script: + - cargo test --no-default-features + - cargo test - rust: nightly name: cargo check (minimal versions) @@ -48,8 +57,8 @@ before_script: - set -o errexit script: - - cargo test --no-default-features - - cargo test + - cargo test --tests --no-default-features + - cargo test --tests notifications: email: diff --git a/Cargo.toml b/Cargo.toml index 430281bf..0cb74e19 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ documentation = "https://docs.rs/pin-project/" readme = "README.md" keywords = ["pin", "macros", "attribute"] categories = ["rust-patterns"] -exclude = ["/.travis.yml"] +exclude = ["/.travis.yml", "/bors.toml"] [badges] travis-ci = { repository = "taiki-e/pin-project" } diff --git a/bors.toml b/bors.toml new file mode 100644 index 00000000..359f8947 --- /dev/null +++ b/bors.toml @@ -0,0 +1 @@ +status = ["continuous-integration/travis-ci/push"]