blob: 69abc28b1add1a2fcce5e5234e8805645510d590 [file] [log] [blame]
language: rust
sudo: false
rust:
- stable
- beta
- nightly
cache: cargo
notifications:
email:
recipients: paho@paholg.com
matrix:
include:
- rust: nightly-2018-03-06
env:
- CLIPPY_VERSION=0.0.187
before_script:
- rustup component add rustfmt-preview
- cargo install clippy --version $CLIPPY_VERSION || echo "Clippy already installed"
script:
cargo fmt -- --write-mode=diff &&
cargo clippy --all-features -- -D clippy
script: |
cargo build --features "no_std strict" &&
cargo test --features "no_std strict" &&
cargo doc --features "no_std strict"
after_success:
- test $TRAVIS_PULL_REQUEST == "false" &&
test $TRAVIS_BRANCH == "master" &&
cargo publish --token ${CRATESIO_TOKEN}
env:
global:
# GitHub SSH stuff
- COMMIT_AUTHOR_EMAIL: "paho@paholg.com"
# GH_TOKEN
- secure: "jEnVq9nswc2mm2A77SEI5C9ytubHrAGpMu9mqF+wr7GoaGee48LjA5OkawY3VHzreB+3djy3LO6h+JUTkKN699KRZt+RvyIBR+yY1C5O+5IwY3k5pZn/Bm4xJZfeGfRwnZ9UYl1iNEAy+yHverMcQC+Lv5wzCSRCmTa18FQpKBeYKsdXfPP1wa+PWbei3bBrO0tBxuiIA5BZUuK8QqYXluUPxKETvJxtdKgFOUbMbf4DDJ4igOrt9OZQQxKrTZWDy+5Hwv4wMh2cir3ExYuM/8dfBewxxGOty1dlZWAUAFsIJ6Ww/mhEAGtsPYjqh3tB5G5JEss2FSvLuYJcKpA9p/mf+K4tagRVF68AydjQISWVBjOarwln2+HzK9tcykfyO8fGIUNgf0ptuZETA95g3BxwKF3O0LvhGJG2QOas8Bjqpdrg3iDoT5QGy2j8DnQLL7HgM31oCvzu1BOqDn3EvRSjwWpmBpXFz/FeUoRdIX1fOZpgw3cYWTpsT/mqW+mUfO98wTHKn3QBOnskLwf9AteTmJwsdx9Kdc4e1a3BqJE/UGNZv16SnVNtun+zMQ3P84HplvCIXL5k2pUDAUpDQne9nxmZ5ADpQJQluDosA5ydtbl+Z6x2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