Skip to content

Commit 9dfb434

Browse files
authored
Merge pull request #186 from tmandry/add-doc-gh-pages
Build docs and deploy to gh-pages
2 parents 146ade3 + 63ea12b commit 9dfb434

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,15 @@ script:
66
- cd chalk-engine; RUSTC_BOOTSTRAP=1 cargo build --no-default-features
77
- cd chalk-engine; RUSTC_BOOTSTRAP=1 cargo build --all-features
88
- RUSTC_BOOTSTRAP=1 cargo test --all
9-
9+
- RUSTC_BOOTSTRAP=1 cargo doc --document-private-items
10+
deploy:
11+
- provider: script
12+
script: mkdir -p target/gh-pages && mv target/doc target/gh-pages/
13+
on:
14+
branch: master
15+
- provider: pages
16+
local-dir: ./target/gh-pages
17+
skip-cleanup: true
18+
github-token: $GITHUB_TOKEN
19+
on:
20+
branch: master

0 commit comments

Comments
 (0)