-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
31 lines (24 loc) · 898 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Config file for automatic testing at travis-ci.org
language: python
sudo: false
python:
- "2.7"
env:
global:
- GAE_VERSION=1.9.24
- PYTHONPATH=$PYTHONPATH:$PWD/vendor/google_appengine
before_script:
- wget -P vendor -nv https://storage.googleapis.com/appengine-sdks/featured/google_appengine_${GAE_VERSION}.zip
- unzip -q -d vendor vendor/google_appengine_${GAE_VERSION}.zip
install:
- ln -s $PWD/gae_lib.pth $(python -c 'import sys; import os; print(os.path.join(sys.prefix, "lib", "python" + sys.version[:3], "site-packages"))')
- pip install -t lib -r requirements_gae.txt
- pip install -r requirements_local.txt
- pip install tox
# command to run tests, e.g. python setup.py test
script: tox
after_failure:
- echo "${PATH}"
- echo "${PYTHONPATH}"
- echo "$(python -c 'import sys; print("\n".join(sys.path))')"
- printenv