aboutsummaryrefslogblamecommitdiffstats
path: root/.travis.yml
blob: 343cc636da580ce9233e5729e5cc4bb20184949a (plain) (tree)
1
2
3
4
5
6
7
8



              
           
            

              


                                                   



                                                   
                                                                     
    


                                                    
language: rust
rust:
  - stable
  - beta
  - nightly
cache: cargo

before_script:
- if [[ "${TRAVIS_RUST_VERSION}" == stable ]]; then
    rustup component add rustfmt;
  fi

script:
- cargo test --all
- if [[ "${TRAVIS_RUST_VERSION}" == stable ]]; then
    cd testing && cargo test --features full && cargo fmt -- --check;
  fi
- if [[ "${TRAVIS_RUST_VERSION}" == nightly ]]; then
    cd testing && cargo test --features with-rocket;
  fi