Update CI configurations

This commit is contained in:
messense 2015-07-04 23:43:25 +08:00
parent 179d6e5f87
commit abe10abd9a
2 changed files with 27 additions and 0 deletions

15
.travis.yml Normal file
View file

@ -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

12
appveyor.yml Normal file
View file

@ -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