Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

common rust configuration features are not supported #114

Open
dbaron opened this issue May 2, 2017 · 0 comments
Open

common rust configuration features are not supported #114

dbaron opened this issue May 2, 2017 · 0 comments

Comments

@dbaron
Copy link

dbaron commented May 2, 2017

The configuration recommended by both Travis's own documentation and by the rust documentation:

language: rust
rust:
  - stable
  - beta
  - nightly
matrix:
  allow_failures:
    - rust: nightly

is rejected by both travis lint and by the Travis WebLint, which I believe are both based on this code.

Another common piece of rust configuration (recommended by this blog post on running rustfmt in Travis CI):

cache: cargo

is also rejected. travis lint reports:

Warnings for .travis.yml:
[x] in matrix.allow_failures section: unexpected key rust, dropping
[x] unexpected key rust, dropping
[x] value for cache section is empty, dropping
[x] in cache section: unexpected key cargo, dropping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant