Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-build docs from master branch #2749

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ before_install:
sudo apt-get update;
sudo apt-get -y install git wget unzip;
sudo apt-get -y install build-essential software-properties-common cmake rsync libboost-all-dev;
sudo apt-get -y install python3 python3-pip python3-setuptools python3-wheel;
pip3 install mkdocs Sphinx sphinx_rtd_theme pymdown-extensions numpy msgpack-rpc-python;
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
echo "No before_install actions for OSX";
elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
Expand Down Expand Up @@ -56,3 +58,14 @@ script:
./tools/install_ros_deps.sh;
(cd ros && source ~/.bashrc && catkin build -DCMAKE_C_COMPILER=gcc-8 -DCMAKE_CXX_COMPILER=g++-8);
fi

after_success:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
./build_docs.sh;
fi

deploy:
- provider: script
script: bash deploy_docs.sh
on:
branch: master
1 change: 1 addition & 0 deletions PythonClient/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
sys.path.append(os.path.abspath('../airsim'))

import sphinx_rtd_theme

Expand Down