lalrpop/.travis.yml
Newton Ni 46434782bd Split apart UnrecognizedEOF error variant from UnrecognizedToken (#446)
* Split apart UnrecognizedEOF error variant from UnrecognizedToken

* Factor out fmt_expected function

* Initial attempt at fixing codegen

- Match on lookahead when returning error
- Use last fixed symbol as location of UnrecognizedEOF
- Use `Default::default()` when there are no fixed symbols (?)

* Initial implementation of finding latest optional location

* Fix UnrecognizedToken errors in `Some` test cases

* Fix UnrecognizedEOF test cases

* Fix parentheses around pattern error for 1.26 compatibility

* Add basic test for UnrecognizedEOF (and hopefully trigger Travis build)

* Fix emitted indentation and use travis_wait when testing
2019-03-25 13:35:58 +01:00

25 lines
1.1 KiB
YAML

language: rust
rust:
- 1.26.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=