Skip to content
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

Test httplib2 transport package on Travis #135

Merged
merged 1 commit into from
Mar 22, 2017
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
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