Add travis config and minor tweaks to gitignore

This commit is contained in:
Sebastián Magrí 2017-08-21 16:25:50 -05:00
parent 031fd5fe4e
commit fdc5c5976b
2 changed files with 21 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
target/
Cargo.lock
.emacs*
*~

19
.travis.yml Normal file
View File

@ -0,0 +1,19 @@
language: rust
sudo: false
rust:
- stable
- beta
- nightly
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
script:
- cargo build --verbose
- cargo build --verbose --no-default-features
- cargo test --verbose
- cargo test --verbose --no-default-features
after_success:
- travis-cargo --only nightly doc-upload
notifications:
email:
on_success: never