forked from qtile/qtile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (39 loc) · 1.04 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
41
42
43
44
45
language: python
# Install trollius for 2, 3.2, and pypy
# Install either trollius or tulip for 3.3
# Asyncio is in the standard library for 3.4+
matrix:
include:
- python: 2.6
env: EVENTLOOP=trollius
- python: 2.7
env: EVENTLOOP=trollius
- python: 3.2
env: EVENTLOOP=trollius
- python: 3.3
env: EVENTLOOP=trollius
- python: 3.3
env: EVENTLOOP=tulip
- python: 3.4
env: EVENTLOOP=asyncio
- python: pypy
env: EVENTLOOP=trollius
script:
- make ckpatch
before_install:
# Environment setup
- sudo apt-get update -qq
- sudo apt-get install -qqy xserver-xephyr x11-apps
# Setup XvFB
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
# Installl requirements
- pip install -r requirements.txt
- if [[ ${EVENTLOOP} == "trollius" ]]; then pip install trollius; fi
- if [[ ${EVENTLOOP} == "tulip" ]]; then pip install asyncio; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install importlib; fi
after_success:
- coveralls
notifications:
- email: false