test docs first

This commit is contained in:
Lindsey Heagy
2016-01-31 10:47:00 -08:00
parent ade37fb493
commit ac2e38e89d
+4 -1
View File
@@ -44,12 +44,15 @@ install:
# Run test
script:
- nosetests $TEST_DIR --with-cov --cov SimPEG --cov-config .coveragerc -v -s
# test docs
- cd docs
- sphinx-build -nW -b html -d _build/doctrees . _build/html
- sphinx-build docs -nW -b latex -d _build/doctrees . _build/latex
- sphinx-build docs -nW -b linkcheck -d _build/doctrees . _build/linkcheck
- cd ../
- nosetests $TEST_DIR --with-cov --cov SimPEG --cov-config .coveragerc -v -s
# Calculate coverage
after_success: