-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 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,17 +1,22 @@ | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
- "3.7" | ||
|
||
env: LIBGIT2=~/libgit2/_install/ LD_LIBRARY_PATH=~/libgit2/_install/lib | ||
matrix: | ||
include: | ||
# Create travis test builds using specific tox environment | ||
- python: 2.7 | ||
env: TOX_ENV=py27 LIBGIT2=~/libgit2/_install/ LD_LIBRARY_PATH=~/libgit2/_install/lib | ||
- python: 3.5 | ||
env: TOX_ENV=py35 LIBGIT2=~/libgit2/_install/ LD_LIBRARY_PATH=~/libgit2/_install/lib | ||
- python: 3.6 | ||
env: TOX_ENV=py36 LIBGIT2=~/libgit2/_install/ LD_LIBRARY_PATH=~/libgit2/_install/lib | ||
- python: 3.7 | ||
env: TOX_ENV=py37 LIBGIT2=~/libgit2/_install/ LD_LIBRARY_PATH=~/libgit2/_install/lib | ||
dist: xenial | ||
|
||
install: | ||
- sudo apt-get install cmake | ||
- wget https://raw.githubusercontent.com/libgit2/pygit2/master/.travis.sh | ||
- bash .travis.sh | ||
- pip install pygit2 pytest | ||
- pip install pygit2 tox | ||
|
||
script: pytest | ||
script: tox -e $TOX_ENV |