mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-16 00:40:50 +00:00
* Ignore trailing commas in `ExpectedDebug` rust-lang/rust/pull/59076 changed the multiline Debug representation to always include a trailing comma. This change currently breaks our tests on beta and nightly, since we use this Debug representation to compare expected parsing output. We cannot simply add the trailing commas to the expected output strings, since that would break on older rustc versions we support. Instead, this commit makes it so that all trailing commas are stripped before the comparison. This workaround can be removed once rust-lang/rust/pull/59076 reaches our minimum supported rustc version. * Bump minimum Rust version to 1.31.0 That's required by the current version rustc-demangle, which is a dependency of mdbook.
25 lines
1.1 KiB
YAML
25 lines
1.1 KiB
YAML
language: rust
|
|
rust:
|
|
- 1.31.0
|
|
- beta
|
|
- nightly
|
|
cache:
|
|
- cargo
|
|
install:
|
|
- source ~/.cargo/env || true
|
|
- 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
|
|
- 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=
|