|
|
@@ -3,7 +3,7 @@ test:
|
|
|
[ x$$TRAVIS_RUST_VERSION != xnightly ] || cargo test --features heap_size
|
|
|
|
|
|
doc:
|
|
|
- cargo doc --features "query_encoding serde_serialization"
|
|
|
+ cargo doc --features "query_encoding serde rustc-serialize"
|
|
|
@echo '<meta http-equiv=refresh content=0;url=url/index.html>' > target/doc/index.html
|
|
|
@cp github.png target/doc/
|
|
|
|
|
|
@@ -12,6 +12,6 @@ upload-doc: doc
|
|
|
test "$(TRAVIS_PULL_REQUEST)" = false
|
|
|
sudo pip install ghp-import
|
|
|
ghp-import -n target/doc
|
|
|
- git push -qf https://$(TOKEN)@github.com/$(TRAVIS_REPO_SLUG).git gh-pages
|
|
|
+ @git push -qf https://$(TOKEN)@github.com/$(TRAVIS_REPO_SLUG).git gh-pages
|
|
|
|
|
|
.PHONY: test doc upload-doc
|