huonw / travis-cargo

A standalone script that manages running Rust's cargo and several other related features on Travis CI.
https://pypi.python.org/pypi/travis-cargo
Apache License 2.0
174 stars 27 forks source link

Error when running stable build after rust stable upgraded to 1.4 #30

Closed chrisppy closed 9 years ago

chrisppy commented 9 years ago

I received the following error after rust stable upgrade

the manifest-path must be a path to a Cargo.toml file

The command "travis-cargo build &&

travis-cargo test &&

travis-cargo bench &&

travis-cargo --only stable doc

" exited with 101.

chrisppy commented 9 years ago

Note that it still works in new beta 1.5

Ygg01 commented 9 years ago

I had the same issue. Nightly and beta work ok, but stable breaks. I only had travis-cargo build && travis-cargo test in my configuration.

Here are some examples of me struggling with it: https://github.com/Ygg01/xml5ever/pull/9

What helps is to separate them into:

script:
  - |
      travis-cargo build
      travis-cargo doc

Strangely enough this doesn't work:

script:
   - travis-cargo build
   - travis-cargo doc
huonw commented 9 years ago

Sorry! I have a fix, just making sure it works on all Rust versions (14 travis builds takes a while...). I'll be publishing it as 0.1.10 soon.