Manually configuring Travis CI to handle the Rust release trains and upload documentation is annoying. Getting a script to do it is far less annoying.
I made a fork to try this:
language: rust
rust:
- nightly
- beta
sudo: false
before_script:
- pip install git+https://github.com/jansegre/travis-cargo.git --user $USER && export PATH=$HOME/.local/bin:$PATH
script:
- travis-cargo cargo build
- travis-cargo cargo test
- travis-cargo cargo doc
after_success:
- travis-cargo --only beta doc-upload
env:
global:
secure: ... <your GH_TOKEN secured var>
I think it is at least a step needed to get it on PyPI.
I'm not sure if it is desired but I opened a PR anyway.
1 Like