forked from pyinvoke/invoke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 1.17 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "pypy"
matrix:
# pypy is frequentlyish unstable on Travis, don't let it mark entire status
# as 'bad' =/ (Still worth running it though.)
allow_failures:
- python: pypy
install:
# Pre-requirements sanity test (again, resembles pure, non-dev install
# environment.) Avoids e.g. spec's 'six' from gumming up our attempts to
# import our vendorized 'six'.
- pip install -r tasks-requirements.txt
- inv --list
# Install remaining dev requirements (test runner, etc)
- pip install -r dev-requirements.txt
script:
# Main test suite
- inv test
# Slow, annoying-to-run-every-time integration suite
- inv integration
# Websites build OK? (NOTE: sphinx/jinja are fucked on Python 3.2 now?)
- "[[ $TRAVIS_PYTHON_VERSION == 3.2 ]] || inv sites"
# Did we break setup.py?
- pip uninstall -y invoke # To undo the implicit -e install from above
- pip install . # NO -e!
- inv -l # Sanity check
notifications:
irc:
channels: "irc.freenode.org#invoke"
template:
- "%{repository}@%{branch}: %{message} (%{build_url})"
on_success: change
on_failure: change
email: false