cd99774e2c
* Add iOS SDK build and test to rust 1.25.0 version of travis CI build * Address review comments * Move iOS testing and document generation into post test jobs
8 lines
376 B
Bash
Executable file
8 lines
376 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [[ "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" ]]; then
|
|
cargo doc &&
|
|
echo "<meta http-equiv=refresh content=0;url=mentat/index.html>" > target/doc/index.html &&
|
|
git clone https://github.com/davisp/ghp-import.git &&
|
|
./ghp-import/ghp_import.py -n -p -f -r https://"$GH_TOKEN"@github.com/"$TRAVIS_REPO_SLUG.git" target/doc
|
|
fi
|