forked from wtforms/wtforms-appengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (18 loc) · 774 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: python
python:
- 2.7
# command to install dependencies
install:
- "pip install ."
- "pip install -r tests/requirements.txt"
# Download the latest version of the GAE Python SDK
- "wget https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.30.zip -nv -O downloaded_appengine.zip"
- "unzip -q downloaded_appengine.zip"
# This is a quick hack, necessary to get fancy_urllib working,
# by exposing the lib/fancy_urllib/fancy_urllib/ dirctory within for use by appengine.
- "rm -rf google_appengine/lib/fancy_urllib/__init__.py"
# command to run tests
script: "coverage run --source=wtforms_appengine `which nosetests` -w tests --with-gae --gae-lib-root=google_appengine"
after_success:
- pip install coveralls
- coveralls