diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9f98e3c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +sudo: required +language: rust +rust: + - stable + - beta + - nightly +before_script: + - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH +script: + - travis-cargo build + - travis-cargo test + # - travis-cargo --only stable doc +after_success: + # - travis-cargo --only stable doc-upload + - travis-cargo coveralls diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..b98755c --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,12 @@ +install: + - ps: Start-FileDownload 'https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-gnu.exe' + - rust-nightly-i686-pc-windows-gnu.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" + - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin + - SET PATH=%PATH%;C:\MinGW\bin + - rustc -V + - cargo -V + +build: false + +test_script: + - cargo test --verbose