This repository has been archived by the owner on Mar 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 648
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up travis config, set up os x build (#143)
* Remove dependence on pip. * Add osx to Travis test matrix. * Remove pip upgrade and sudo requirement for Travis config.
- Loading branch information
1 parent
3dc695e
commit d5c4e9e
Showing
2 changed files
with
10 additions
and
9 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,8 +1,7 @@ | ||
language: go | ||
# Upgrade default Travis pip which is old and doesn't work the way we expect. | ||
# Need sudo to do that. | ||
sudo: required | ||
install: pip install --upgrade pip | ||
os: | ||
- linux | ||
- osx | ||
# Run gofmt and lint serially to avoid confusing output. Run tests in parallel | ||
# for speed. | ||
script: make gofmt lint; make -j2 test | ||
script: make gofmt lint && make -j2 test |
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