Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit c51d35a

Browse files
author
Jon Wayne Parrott
authored
Test httplib2 transport package on travis (#135)
1 parent 05d4808 commit c51d35a

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

httplib2_transport/MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include README.rst LICENSE
2+
recursive-include tests *

httplib2_transport/tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = lint,py27,py34,py35,pypy,cover
2+
envlist = lint,py27,py34,py35,py36,pypy,cover
33

44
[testenv]
55
deps =
@@ -16,7 +16,7 @@ commands =
1616
py.test --cov=google_auth_httplib2 --cov=tests {posargs:tests}
1717

1818
[testenv:cover]
19-
basepython = python3.5
19+
basepython = python3.6
2020
commands =
2121
py.test --cov=google_auth_httplib2 --cov=tests --cov-report= tests
2222
coverage report --show-missing --fail-under=100

scripts/travis.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
set -eo pipefail
18+
1719
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1820
ROOT=$( dirname "$DIR" )
1921

@@ -36,4 +38,12 @@ if [[ -n $SYSTEM_TEST ]]; then
3638
fi
3739

3840
# Run tox.
41+
echo "Running tox..."
3942
tox
43+
44+
# Run tox for sub-packages.
45+
if [[ $TOXENV != "docs" && -z $SYSTEM_TEST ]]; then
46+
echo "Running tox for httplib2_transport..."
47+
cd httplib2_transport
48+
tox
49+
fi

0 commit comments

Comments
 (0)