Skip to content

Canary #176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Feb 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ before_install:
install:
# TODO: unpin tox when the following issue is fixed
# https://bitbucket.org/hpk42/tox/issues/285/tox-220-breaks-some-toxini-config-files
- pip install tox coveralls
- pip install tox

script:
- tox

after_success:
- coveralls
# Coveralls is disabled in travis because travis does not run all of our
# tests. The full suite of tests is run on an internal Jenkins instance.
# after_success:
# - coveralls
5 changes: 5 additions & 0 deletions appengine/cloudsql/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import os
import re
from unittest.case import SkipTest

import tests
import webtest
Expand All @@ -22,6 +25,8 @@
class TestMySQLSample(tests.AppEngineTestbedCase):

def setUp(self):
if not os.path.exists('/var/run/mysqld/mysqld.sock'):
raise SkipTest('No MySQL server found.')
super(TestMySQLSample, self).setUp()
self.app = webtest.TestApp(main.app)

Expand Down
2 changes: 1 addition & 1 deletion container_engine/django_tutorial/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django==1.9.2
mysqlclient==1.3.7
wheel==0.27.0
wheel==0.28.0
gunicorn==19.4.5
2 changes: 1 addition & 1 deletion datastore/api/snippets_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def test_multi_sort(self):
@eventually_consistent
def test_keys_only_query(self):
keys = snippets.keys_only_query(self.client)
self.to_delete_keys.extend(keys)
self.to_delete_entities.extend(self.client.query(kind='Task').fetch())
self.assertTrue(keys)

@eventually_consistent
Expand Down
2 changes: 1 addition & 1 deletion managed_vms/django_cloudsql/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django==1.9.2
mysqlclient==1.3.7
wheel==0.27.0
wheel==0.28.0
gunicorn==19.4.5
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ commands =
nosetests --with-gae \
--gae-app=tests/resources/app.yaml \
--logging-level=INFO \
--with-xunit \
--xunit-testsuite-name gae \
--xunit-file nosetests-gae.xml \
{[testenv]commonargs} \
{posargs:appengine}
setenv =
Expand Down Expand Up @@ -72,6 +75,9 @@ commands =
nosetests \
--exclude-dir=appengine \
{[testenv]commonargs} \
--with-xunit \
--xunit-testsuite-name py27 \
--xunit-file nosetests-py27.xml \
{posargs}

[testenv:py34-all]
Expand All @@ -82,6 +88,9 @@ commands =
nosetests \
--exclude-dir=appengine \
{[testenv]commonargs} \
--with-xunit \
--xunit-testsuite-name py34 \
--xunit-file nosetests-py34.xml \
{posargs}

[testenv:pep8]
Expand Down