Add config for building and testing with Travis CI on each push

This commit is contained in:
mycognosist 2020-05-15 12:04:10 +01:00
parent 5546056513
commit ef51391c09

16
.travis.yml Normal file
View File

@ -0,0 +1,16 @@
language: rust
sudo: false
cache:
- cargo
rust:
- stable
before_script:
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
- (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.3" mdbook)
- cargo install-update -a
script:
- mdbook build && mdbook test