Skip to content

Commit

Permalink
Test httplib2 transport package on travis (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Wayne Parrott authored Mar 22, 2017
1 parent 05d4808 commit c51d35a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions httplib2_transport/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include README.rst LICENSE
recursive-include tests *
4 changes: 2 additions & 2 deletions httplib2_transport/tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = lint,py27,py34,py35,pypy,cover
envlist = lint,py27,py34,py35,py36,pypy,cover

[testenv]
deps =
Expand All @@ -16,7 +16,7 @@ commands =
py.test --cov=google_auth_httplib2 --cov=tests {posargs:tests}

[testenv:cover]
basepython = python3.5
basepython = python3.6
commands =
py.test --cov=google_auth_httplib2 --cov=tests --cov-report= tests
coverage report --show-missing --fail-under=100
Expand Down
10 changes: 10 additions & 0 deletions scripts/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set -eo pipefail

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ROOT=$( dirname "$DIR" )

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

# Run tox.
echo "Running tox..."
tox

# Run tox for sub-packages.
if [[ $TOXENV != "docs" && -z $SYSTEM_TEST ]]; then
echo "Running tox for httplib2_transport..."
cd httplib2_transport
tox
fi

0 comments on commit c51d35a

Please sign in to comment.