gba/.travis.yml
2018-11-13 11:51:56 -07:00

28 lines
559 B
YAML

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.1" mdbook)
- cargo install-update -a
script:
- cargo check && cargo check --release
# at the moment we DO NOT run "cargo test" because of lang-item issues
- cd book && mdbook build
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: docs
keep-history: false
on:
branch: master