forked from lalrpop/lalrpop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 1.5 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: rust
rust:
- 1.36.0
- beta
- nightly
cache:
- cargo
install:
- source ~/.cargo/env || true
- [[ $TRAVIS_RUST_VERSION == "stable" ]] && bash tools/ci-install.sh
script:
- RUST_BACKTRACE=1 CARGO_INCREMENTAL=0 cargo build -p lalrpop
- RUST_BACKTRACE=1 CARGO_INCREMENTAL=0 travis_wait cargo test --all --all-features
# Check the documentation examples separately so that the `lexer` feature specified in tests do not
# leak into them
- RUST_BACKTRACE=1 CARGO_INCREMENTAL=0 cargo check -p calculator
- RUST_BACKTRACE=1 CARGO_INCREMENTAL=0 cargo check -p pascal
- RUST_BACKTRACE=1 CARGO_INCREMENTAL=0 cargo check -p whitespace
- [[ $TRAVIS_RUST_VERSION == "stable" ]] && bash tools/build-doc
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: doc/book
on:
branch: master
env:
global:
secure: Z9rnzaLlpFCX6QSiUEEKfiF9AZd+cJD13dgnz1ZpV4wqLsithvgL2TxJSXgR6nBW4HMhIyRfjsXDIEc1qlU3RRMGLX7h1lESnM1iNuLRHyBnBQKATVneLazg5/yoRo3x1Kt6iTFV4vJvIm5T0YTzkpaB9AgCcx4xErCkU3EMJMxrQzjXj0H3ASJmt+tKWZQZ+kwQQmJTVSWlWyvqDHz0EfYmdIsKjWFeT61w/OlxdlbobWf87lS1U8BSUr1b1mrsTg0VBKeeTMi+xv/MHOykgjMfjx+lIIpzZI0ie+C4LFYOOun5V6P8g4mzNlvPV0B5c5XKVEIWJhhE4oobYOXBmLy9YFcW9EsKpuoDtzFCyiD25sD6m25EZ+6eNg/lY130m/wyPPIghu43kNbuAB1XzFxIFpGzYGFfTMT04aEp/DDm1pCOG26uzyWktYf4cEUDTJKuliBfOrGZ3IcvBRemgiQsJA4s5Gz0BgMTYpxVH9bu74ebXoMeit88S2NFcfSl8gKHxvmhhLO8eRt5yrhdcBJ3GkVbJgqT8OqZSbpPqUYn3+uOIF+kqSn4jCH0pK3ckYLFKZTyTKQ9nKuw3rgu3oj0+mqyz3Hsiz7B78dR73Iq332CB382I2M+LtlUPjck0CBqD7IWa3Y9MjE9ucdJLEDIQp//vSZVvJaGnrIexnQ=