Skip to content

Commit

Permalink
Improve CI script to also run tests on stable and beta
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasKalbertodt committed Oct 31, 2019
1 parent b031a64 commit 5f686a3
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
language: rust
rust:
- nightly
- beta
- stable

script:
- cargo build --verbose || travis_terminate 1
- cargo test --verbose || travis_terminate 1

matrix:
include:
Expand All @@ -7,17 +15,6 @@ matrix:
script:
- cargo build --verbose --features=nightly || travis_terminate 1
- cargo test --verbose --features=nightly || travis_terminate 1
- name: "Build & test on nightly WITHOUT nightly feature"
rust: nightly
script:
- cargo build --verbose || travis_terminate 1
- cargo test --verbose || travis_terminate 1
- name: "Build on beta"
rust: beta
script: cargo build --verbose
- name: "Build on stable"
rust: stable
script: cargo build --verbose

env:
global:
Expand Down

0 comments on commit 5f686a3

Please sign in to comment.