Skip to content

Commit

Permalink
Updated Travis CI integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgregor committed Feb 5, 2016
1 parent b61226b commit defee59
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 5 deletions.
30 changes: 25 additions & 5 deletions .travis.yml
@@ -1,12 +1,32 @@
language: python
sudo: false

branches:
except:
- /^feature/.*$/

python:
- pypy
- pypy3
- "2.6"
- "2.7"
- "3.1"
- "3.2"
- "3.3"
- "3.4"
install:
- pip install coverage
- pip install -e . --use-mirrors
script: python setup.py test
- "3.5"

install: travis_retry .travis/install.sh

script: tox

notifications:
irc:
channels:
- 'irc.freenode.org#webcore'
use_notice: true
skip_join: true
on_success: change
on_failure: always
template:
- "%{repository_slug}:%{branch}@%{commit} %{message}"
- "Duration: %{duration} - Details: %{build_url}"
14 changes: 14 additions & 0 deletions .travis/install.sh
@@ -0,0 +1,14 @@
#!/bin/bash
set -e
set -x

git config --global user.email "alice+travis@gothcandy.com"
git config --global user.name "Travis: Marrow"

pip install --upgrade pytest
pip install tox
pip install tox-travis
pip install codecov
pip install pytest-cov
pip install pyflakes
pip install pytest-spec

0 comments on commit defee59

Please sign in to comment.