Skip to content

Commit e73ff87

Browse files
shirhattidanroth27
authored andcommitted
Travis support
1 parent cf5fa48 commit e73ff87

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

.travis.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
sudo: false
2+
language: python
3+
python:
4+
- "3.3"
5+
# command to install dependencies
6+
install: "pip install -q -r requirements.txt"
7+
# command to run tests
8+
script: ./build.sh
9+
# Flags used here, not in `make html`:
10+
# -n Run in nit-picky mode. Currently, this generates warnings for all missing references.
11+
# -W Turn warnings into errors. This means that the build stops at the first warning and sphinx-build exits with exit status 1.

aspnet/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def setup(app):
147147
# The name of an image file (within the static path) to use as favicon of the
148148
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
149149
# pixels large.
150-
html_favicon = 'favicon.ico'
150+
html_favicon = '../common/_static/favicon.ico'
151151

152152
# Add any paths that contain custom static files (such as style sheets) here,
153153
# relative to this directory. They are copied after the builtin static files,

build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
echo "Trying to build the aspnet directory..." && cd aspnet && sphinx-build -nW -b html -d _build/doctrees . _build/html
2+
echo "Trying to build the mvc directory..." && cd ../mvc && sphinx-build -nW -b html -d _build/doctrees . _build/html

mvc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def setup(app):
155155
# The name of an image file (within the static path) to use as favicon of the
156156
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
157157
# pixels large.
158-
html_favicon = 'favicon.ico'
158+
html_favicon = '../common/_static/favicon.ico'
159159

160160
# Add any paths that contain custom static files (such as style sheets) here,
161161
# relative to this directory. They are copied after the builtin static files,

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sphinx==1.3.1

0 commit comments

Comments
 (0)