-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Travis to run Go integration tests. (#76)
- Loading branch information
Showing
1 changed file
with
20 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
language: python | ||
sudo: false | ||
language: go | ||
|
||
env: | ||
- TOX_ENV=py27 | ||
- TOX_ENV=py35 | ||
install: | ||
- cd python | ||
- pip install tox | ||
- pip install . | ||
script: tox -e $TOX_ENV | ||
after_success: | ||
- if [[ "${TOX_ENV}" == "py27" ]]; then tox -e coveralls; fi | ||
- GO111MODULE=on | ||
|
||
go: | ||
- 1.12.x | ||
- 1.11.x | ||
|
||
# Only clone the most recent commit. | ||
git: | ||
depth: 1 | ||
|
||
# Skip the install step. | ||
install: true | ||
|
||
# Don't email the results of the test runs. | ||
notifications: | ||
email: false | ||
|
||
# Tweak for adding python3.5; see | ||
# https://github.com/travis-ci/travis-ci/issues/4794 | ||
addons: | ||
apt: | ||
sources: | ||
- deadsnakes | ||
packages: | ||
- python3.5 | ||
script: | ||
- go test integration/cli_test.go |