Put documentation on github

This commit is contained in:
Alex Crichton 2014-08-03 21:30:30 -07:00
parent b5e110caf4
commit 934e093047
4 changed files with 28 additions and 12 deletions

View file

@ -1,9 +1,15 @@
install: install:
- curl http://www.rust-lang.org/rustup.sh | sudo sh - - curl http://www.rust-lang.org/rustup.sh | sudo sh -
script: script:
- make - cargo build --verbose
- make check - cargo test --verbose
- cargo build --verbose - rustdoc --test src/lib.rs -L target --crate-name toml
- cargo test --verbose - cargo doc
after_success: ! '[ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ]
&& echo ''<meta http-equiv=refresh content=0;url=toml/index.html>'' > target/doc/index.html
&& sudo pip install ghp-import && ghp-import -n target/doc && git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
gh-pages '
env: env:
- LD_LIBRARY_PATH=/usr/local/lib global:
- LD_LIBRARY_PATH: /usr/local/lib
- secure: bK8RmAtQcJvxXZFe+WqfRwuQqq1h3PXCFtrd73m4PWysdMEhtWb+ZKugPw8ykT3YVVLqbLnzH2Z8iM0RkF57aJvk7H1P4Syw4h2pPvvgP91ayzHbUnWwxkkJJ+oQ8lDJtcDHQ4BQhKMpTqY4tbaG6KeSwSdqDRCJuzHbZJzR0Eg=

View file

@ -1,9 +1,5 @@
[project] [package]
name = "toml" name = "toml"
version = "0.1.0" version = "0.1.0"
authors = ["alex@crichton.co"] authors = ["Alex Crichton <alex@alexcrichton.com>"]
[[lib]]
name = "toml"

14
README.md Normal file
View file

@ -0,0 +1,14 @@
# toml-rs
[![Build Status](https://travis-ci.org/alexcrichton/toml-rs.svg?branch=master)](https://travis-ci.org/alexcrichton/toml-rs)
[Documentation](http://alexcrichton.com/toml-rs/toml/index.html)
A TOML decoder and encoder for Rust.
```toml
# Cargo.toml
[dependencies.toml]
git = "https://github.com/alexcrichton/toml-rs"
```