Skip to content

Commit bff9f95

Browse files
committed
Setup doc upload to rust-ci
1 parent 1b74977 commit bff9f95

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
env:
2+
global:
3+
- secure: MDV8QzYhRm55CkEBbpjzqWmw9fLIwDRjf0O/xBC2nBJmpGWhe6v+IumH9SJFVdtSA8j8FZR0qqdCHZOs0Zl5O0SpGWyC3kKHrdW6oeQATKyRGC0HNh3BOGWnkidexvnpv/auDFWA6Vgiorvxq9B162BkEDijh6Eyz0kshsUjgTU=
14
addons:
25
postgresql: 9.3
36
before_install:
@@ -10,3 +13,6 @@ before_script:
1013
script:
1114
- make
1215
- make check
16+
- make doc
17+
after_script:
18+
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,8 @@ check: $(POSTGRES_TEST)
4343
clean:
4444
rm -rf $(BUILDDIR)
4545

46+
doc: $(OPENSSL) $(PHF)
47+
rustdoc -L $(dir $(OPENSSL)) $(foreach file,$(PHF),-L $(dir $(file))) \
48+
$(POSTGRES_LIB)
49+
4650
.PHONY: all check clean

0 commit comments

Comments
 (0)