Skip to content

Commit

Permalink
Merge pull request #19 from GoogleCloudPlatform/tests
Browse files Browse the repository at this point in the history
Adding basic test setup
  • Loading branch information
Jon Wayne Parrott committed Feb 26, 2016
2 parents debcf88 + 9aa0f08 commit f44dc6a
Show file tree
Hide file tree
Showing 4 changed files with 225 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sudo: required
services:
- docker
script:
- docker build -t google/python .
- docker build -t google/python-libraries tests/python2-libraries
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN apt-get -q update && \
libxslt1-dev libpq-dev libmysqlclient-dev libcurl4-openssl-dev \
libjpeg-dev zlib1g-dev libpng12-dev \
gfortran libblas-dev liblapack-dev libatlas-dev libquadmath0 \
libfreetype6-dev pkg-config swig \
&& \
apt-get clean && rm /var/lib/apt/lists/*_*

Expand Down
7 changes: 7 additions & 0 deletions tests/python2-libraries/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM google/python

RUN virtualenv /env
ENV VIRTUAL_ENV /env
ENV PATH /env/bin:$PATH
ADD requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
211 changes: 211 additions & 0 deletions tests/python2-libraries/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
simplejson
setuptools
six
requests
virtualenv
pip
distribute
python-dateutil
certifi
boto
pbr
#wincertstore
docutils
pyasn1
pyyaml
jinja2
markupsafe
pytz
nose
lxml
pycrypto
rsa
colorama
botocore
cffi
awscli
coverage
jmespath
pycparser
pika
django
psycopg2
paramiko
ecdsa
sqlalchemy
mock
redis
werkzeug
selenium
bcdoc
supervisor
pep8
httplib2
flask
pymongo
zc.buildout
psutil
mysql-python
argparse
carbon
pygments
babel
paste
anyjson
meld3
# ssl (already included in standard library)
cryptography
py
tornado
pyopenssl
greenlet
kombu
graphite-web
docopt
mako
itsdangerous
pillow
wheel
beautifulsoup4
enum34
pyflakes
zope.interface
decorator
futures
pastedeploy
ordereddict
setuptools-git
fabric
backports.ssl_match_hostname
amqp
numpy
sphinx
iso8601
flake8
celery
pyparsing
mccabe
stevedore
pytest
webob
gunicorn
urllib3
billiard
jsonschema
msgpack-python
gevent
logilab-common
unittest2
prettytable
pylint
blessings
south
mozrunner
netaddr
oslo.config
twisted
ipaddress
ujson
moznetwork
mozdevice
mozprofile
mozprocess
mozfile
mozinfo
html5lib
mozlog
mozcrash
oauthlib
idna
ipython
tox
astroid
google-api-python-client
pycurl
isodate
python-keystoneclient
websocket-client
markdown
python-mimeparse
python-daemon
raven
suds
oauth2client
cython
eventlet
netifaces
repoze.lru
thrift
sqlparse
ndg-httpsclient
djangorestframework
python-novaclient
testtools
alembic
uritemplate
statsd
python-memcached
coveralls
funcsigs
configobj
linecache2
extras
beautifulsoup
# scikit-learn
cliff
oauth2
# pycups
cmd2
unidecode
newrelic
python-gflags
cov-core
pytest-cov
fixtures
pyasn1-modules
python-swiftclient
django-debug-toolbar
elasticsearch
webtest
docker-py
python-subunit
retrying
django-extensions
pystache
waitress
pexpect
blinker
scipy
requests-oauthlib
protobuf
manifestparser
passlib
ansible
click
versiontools
django_compress
pyzmq
chardet
xlrd
snowballstemmer
testrepository
pandas
functools32
python-cjson
pastescript
warlock
sqlalchemy-migrate
django-celery
uwsgi
cssselect
# Hand selected
matplotlib
pymysql
amqplib
sh
m2crypto
apache-libcloud
hiredis
bottle
pyramid
pyjwt

0 comments on commit f44dc6a

Please sign in to comment.