forked from qtile/qtile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (53 loc) · 1.26 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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.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
- python: pypy3
env: EVENTLOOP=trollius
- python: nightly
env: EVENTLOOP=asyncio
allow_failures:
- python: pypy3
- python: nightly
script:
- make ckpatch
cache:
directories:
- $HOME/.cache/pip
addons:
apt:
packages:
- x11-apps
- xserver-xephyr
- xvfb
before_install:
# Setup XvFB
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
# Installl requirements
- pip install xcffib
- pip install -r requirements.txt
- if [[ ${EVENTLOOP} == "trollius" ]]; then pip install trollius; fi
- if [[ ${EVENTLOOP} == "tulip" ]]; then pip install asyncio; fi
# build pangocffi module
- python -c 'import cffi, sys; sys.exit(cffi.__version_info__[0])' || python libqtile/ffi_build.py
after_success:
- coveralls
notifications:
email: false
sudo: false