diff options
author | chriseth <c@ethdev.com> | 2016-05-19 03:31:48 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-05-19 03:59:41 +0800 |
commit | 91405d5a060cf8641b5b6942da2655403e3d343d (patch) | |
tree | cbaec06966afb4de8740c809d7bfab8dc3cdee30 /.travis.yml | |
parent | ec061b09a3a0093bada684d6109579b20d6775c5 (diff) | |
download | dexon-solidity-91405d5a060cf8641b5b6942da2655403e3d343d.tar.gz dexon-solidity-91405d5a060cf8641b5b6942da2655403e3d343d.tar.zst dexon-solidity-91405d5a060cf8641b5b6942da2655403e3d343d.zip |
Use travis to check documentation.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..07458841 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +# This is used to verify that the documentation compiles. +language: python +python: + - "2.7" +# command to install dependencies +install: "pip install -q Sphinx==1.1.3 --use-mirrors" +# command to run tests +script: cd docs && sphinx-build -nW -b html -d _build/doctrees . _build/html +# Flags used here, not in `make html`: +# -n Run in nit-picky mode. Currently, this generates warnings for all missing references. +# -W Turn warnings into errors. This means that the build stops at the first warning and sphinx-build exits with exit status 1. |