File tree 2 files changed +22
-0
lines changed
2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ script:
14
14
- python2.4 -m compileall -fq cloud/amazon/_ec2_ami_search.py cloud/amazon/ec2_facts.py
15
15
- python2.6 -m compileall -fq .
16
16
- python2.7 -m compileall -fq .
17
+ - ./test-docs.sh core
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ set -x
3
+
4
+ CHECKOUT_DIR=" .ansible-checkout"
5
+ MOD_REPO=" $1 "
6
+
7
+ # Hidden file to avoid the module_formatter recursing into the checkout
8
+ git clone https://github.com/ansible/ansible " $CHECKOUT_DIR "
9
+ cd " $CHECKOUT_DIR "
10
+ git submodule update --init
11
+ rm -rf " lib/ansible/modules/$MOD_REPO "
12
+ ln -s " $TRAVIS_BUILD_DIR /" " lib/ansible/modules/$MOD_REPO "
13
+
14
+ pip install -U Jinja2 PyYAML setuptools six pycrypto sphinx
15
+
16
+ . ./hacking/env-setup
17
+ PAGER=/bin/cat bin/ansible-doc -l
18
+ if [ $? -ne 0 ] ; then
19
+ exit $?
20
+ fi
21
+ make -C docsite
You can’t perform that action at this time.
0 commit comments