@@ -10,7 +10,8 @@ install:
script:
- cargo build
- cargo test
- - make doc test-doc
+ - ./doc.sh
+ - ./doc.sh --test
after_success: |
[ $TRAVIS_BRANCH = master ] &&
@@ -1,7 +0,0 @@
-.PHONY: doc test-doc
-
-doc:
- rustdoc src/url.rs -L target/deps -L target
-test-doc:
- rustdoc src/url.rs -L target/deps -L target --test
@@ -0,0 +1,2 @@
+#!/bin/sh
+rustdoc src/url.rs -L target/deps -L target "$@"