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

doc upload fails with ''sh: 1: Syntax error: "(" unexpected" #22

Open
jbalintbiro opened this issue Aug 30, 2014 · 10 comments
Open

doc upload fails with ''sh: 1: Syntax error: "(" unexpected" #22

jbalintbiro opened this issue Aug 30, 2014 · 10 comments

Comments

@jbalintbiro
Copy link

The documentation upload fails with the error message in the title.

Example:

https://travis-ci.org/saati/memoize-rs/builds/33984305

@huonw
Copy link

huonw commented Sep 29, 2014

I'm hitting this, it seems that the contents of the file is <h1>Server Error (500)</h1>: https://travis-ci.org/huonw/slow_primes/builds/36528575

@dtantsur
Copy link

dtantsur commented Oct 5, 2014

Hit this as well: http://www.rust-ci.org/Divius/rust-dht. Causes my docs to be seriously outdated and no way to a least delete them.

@jgillich
Copy link

jgillich commented Nov 4, 2014

I have the same issue. @hansjorg can you look into this? Thanks!

@dwrensha
Copy link

I think think would be fixed by #16.

Meanwhile, a workaround is to add this to your .travis.yml:

after_script:
  - cp -r target/doc doc

@niax
Copy link

niax commented Nov 21, 2014

Even with having this in my .travis.yml the doc upload is failling with this sh error - https://travis-ci.org/niax/rust-email/builds/41698909

@jgillich
Copy link

I'm now using ghp-import with Travis to automatically push docs to gh-pages, like in https://github.com/hyperium/hyper/blob/master/.travis.yml

You need to setup a token manually, but after that it works just perfectly.

@dtantsur
Copy link

I already copy target/doc, so it doesn't seem to be related.

gh-pages are nice, but I'd prefer to support central location as well.

@jgillich
Copy link

Maybe crates.io will be able to build the docs in the future, but GitHub somehow already is a central location.

@daboross
Copy link

The copying target/doc/ to doc/ is unrelated, this is http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN returning <h1>Server Error (500)</h1> - travis isn't getting the build script.

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

8 participants