[CI] Travis: Upgrade to Xenial and add pygit2

This commit is contained in:
Tobias Witek 2019-01-20 18:40:55 +01:00
parent 07ff027e8f
commit 7aa15bf8ba

View file

@ -1,5 +1,6 @@
sudo: false sudo: false
language: python language: python
dist: xenial
python: python:
- "2.7" - "2.7"
- "3.3" - "3.3"
@ -8,7 +9,7 @@ python:
- "3.6" - "3.6"
before_install: before_install:
- sudo apt-get -qq update - sudo apt-get -qq update
- sudo apt-get install -y task libgit2-dev - sudo apt-get install -y task pygit2
install: install:
- pip install i3ipc - pip install i3ipc
- pip install psutil - pip install psutil
@ -16,7 +17,6 @@ install:
- pip install -U coverage==4.3 - pip install -U coverage==4.3
- pip install codeclimate-test-reporter - pip install codeclimate-test-reporter
- pip install taskw - pip install taskw
- pip install pygit2
script: script:
- nosetests -v --with-coverage --cover-erase tests/ - nosetests -v --with-coverage --cover-erase tests/
- CODECLIMATE_REPO_TOKEN=40cb00907f7a10e04868e856570bb997ab9c42fd3b63d980f2b2269433195fdf codeclimate-test-reporter - CODECLIMATE_REPO_TOKEN=40cb00907f7a10e04868e856570bb997ab9c42fd3b63d980f2b2269433195fdf codeclimate-test-reporter