File tree Expand file tree Collapse file tree 5 files changed +30
-2
lines changed Expand file tree Collapse file tree 5 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 1+ language : rust
2+ addons :
3+ postgresql : 9.4
4+ script :
5+ - cargo test
6+ - cargo doc --no-deps
7+ after_success :
8+ - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && ./.travis/update_docs.sh
9+ env :
10+ global :
11+ secure : aJ1Q6gIQZmuJnj03GCF9SbTyt9f4v+Z02gxvmV760TpgcuYOfHJD78Z1nxkZh1LGK1g7reeyYnWQ0UFSEPZBEPu/Wg+opUE73Vy4228sizowWTVMRn9mlmo3OgSQKPVvpYuvXbjjoWRh4/ynDDacIW8Lp/bFxlO4hl0DYvrHx44=
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -o errexit -o nounset
4+
5+ git clone --branch gh-pages " https://$GH_TOKEN @github.com/${TRAVIS_REPO_SLUG} .git" deploy_docs
6+ cd deploy_docs
7+
8+ git config user.name " Steven Fackler"
9+ git config user.email " sfackler@gmail.com"
10+
11+ rm -rf doc
12+ mv ../target/doc .
13+
14+ git add -A .
15+ git commit -m " rebuild pages at ${TRAVIS_COMMIT} "
16+ git push
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ authors = ["Steven Fackler <sfackler@gmail.com>"]
55license = " MIT"
66description = " Array support for rust-postgres"
77repository = " https://github.com/sfackler/rust-postgres-array"
8+ documentation = " https://sfackler.github.io/rust-postgres-array/doc/postgres_array"
89
910[features ]
1011default = [" uuid" ]
Original file line number Diff line number Diff line change 11# rust-postgres-array
22Support for PostgreSQL arrays in [ rust-postgres] ( https://github.com/sfackler/rust-postgres ) .
33
4- Documentation is available at https://sfackler.github.io/doc/postgres_array .
4+ Documentation is available at https://sfackler.github.io/rust-postgres-array/ doc/postgres_array .
Original file line number Diff line number Diff line change 11//! Multi-dimensional arrays with per-dimension specifiable lower bounds
2- #![ doc( html_root_url="https://sfackler.github.io/doc" ) ]
2+ #![ doc( html_root_url="https://sfackler.github.io/rust-postgres-array/ doc" ) ]
33#![ feature( core, io) ]
44#![ cfg_attr( test, feature( collections) ) ]
55
You can’t perform that action at this time.
0 commit comments