diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e7bff93 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: rust +os: + - linux + - windows +rust: + - stable + - beta + - nightly +# Need to cache the whole `.cargo` directory to keep .crates.toml for +# cargo-update to work, but don't cache the cargo registry +before_cache: + - rm -rf /home/travis/.cargo/registry +cache: + directories: + - /home/travis/.cargo +before_script: + - rustup component add clippy-preview +script: + - cargo clippy --all-targets --all-features -- -D warnings + - cargo test --verbose +matrix: + allow_failures: + - rust: nightly + fast_finish: true diff --git a/README.rst b/README.rst index 9fcd7b0..b1a235e 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,12 @@ supernova ========= - Tool for exporting GitHub stars as an organized list. +.. image:: https://travis-ci.org/0xazure/supernova.svg?branch=master + :target: https://travis-ci.org/0xazure/supernova + +| + + Tool for exporting GitHub stars as an organized list. things learned --------------