30 lines
623 B
YAML
30 lines
623 B
YAML
language: python
|
|
python:
|
|
- 2.7
|
|
|
|
env:
|
|
- RUST_VERSION=stable
|
|
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- ci@mathijs.vd-nes.nl
|
|
on_success: never
|
|
on_failure: always
|
|
|
|
install:
|
|
- curl -o ~/rustup.sh https://static.rust-lang.org/rustup.sh
|
|
- sudo sh ~/rustup.sh --spec=$RUST_VERSION --disable-sudo -y 2> /dev/null
|
|
|
|
before_script:
|
|
- rustc --version
|
|
- cargo --version
|
|
|
|
script:
|
|
- cargo build
|
|
- cargo test
|
|
- cargo doc --no-deps
|
|
- rustdoc --test README.md -L target/debug
|
|
|
|
after_success:
|
|
- curl https://mvdnes.github.io/rust-docs/shippable-doc-upload.sh | sh
|