File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,15 +10,20 @@ python:
1010- ' 3.5'
1111install :
1212- python setup.py install
13- script :
14- - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then unit2 discover; else python -m unittest discover; fi
13+ script :
14+ - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then unit2 discover; else python -m unittest
15+ discover; fi
1516notifications :
1617 hipchat :
1718 rooms :
1819 secure : Lo3L/YNWpn9ulGX4D2HlWrBOyxMPlLkFcwxbYViG69Ta6BV+c6YE+Pct43tExlL6sZ+nj5p8X4KRTeOM4sqASrebWA25nyUrNTm+vZYFbi5XfmGvvi8TEsgg0MYRQRWWn/R2z0kZW/fqOY6sqJuoIafMBmC3tayTJRiH1Ct2Cw0=
1920 template :
2021 - ' <a href="https://travis-ci.org/%{repository}/builds/%{build_id}">%{repository}
2122 Build %{build_number}</a> on branch <i>%{branch}</i> by %{author}: <strong>%{message}</strong>
22- <a href="https://github.com/sendgrid/docs/commits/%{commit}">View on GitHub</a>'
23+ <a href="https://github.com/sendgrid/%{repository}/commits/%{commit}">View on
24+ GitHub</a>'
2325 format : html
2426 notify : false
27+ env :
28+ global :
29+ secure : Dez9lIrNCbIoCdgz96kptm0idaXuNnLam8BriY5HbLRdDvgsLihqlQiMPIHZbWzT8C1E2HtSLGES3vTRAWBkyKgi/EyfIe7ngqIUhFRcb2dY0gFrPOXaOwOAegTYpjY3fYaqMdW1va++2I4ft/SEd1l5tJWnkN+Fj9vGYua1GdE=
Original file line number Diff line number Diff line change 77except ImportError :
88 import unittest
99import os
10- host = 'http://localhost:4010'
10+ host = os . environ . get ( 'MOCK_HOST' )
1111
1212class UnitTests (unittest .TestCase ):
1313 def setUp (self ):
You can’t perform that action at this time.
0 commit comments