Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
galactics committed Oct 28, 2018
1 parent d6b0aa5 commit f077ed2
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .travis.yml
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

0 comments on commit f077ed2

Please sign in to comment.