forked from tmux-python/tmuxp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (54 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
language: python
dist: trusty
sudo: false
python:
- 2.7
- 3.6
- pypy3.5-5.10.1
- pypy2.7-5.10.0
env:
global:
- RETRY_TIMEOUT_SECONDS=15
matrix:
- TMUX_VERSION=master
- TMUX_VERSION=2.8
- TMUX_VERSION=2.7
- TMUX_VERSION=2.6
- TMUX_VERSION=2.5
- TMUX_VERSION=2.4
- TMUX_VERSION=2.3
- TMUX_VERSION=2.2
- TMUX_VERSION=2.1
- TMUX_VERSION=2.0
- TMUX_VERSION=1.9a
- TMUX_VERSION=1.8
matrix:
allow_failures:
- env: TMUX_VERSION=master
before_install:
- export PIP_USE_MIRRORS=true
- pip install --upgrade pytest # https://github.com/travis-ci/travis-ci/issues/4873
- pip install --upgrade pip wheel virtualenv setuptools
- pip install pytest-cov coverage codecov flake8
install:
- pip install -e .
- pip install -r requirements/test.txt
before_script:
- git clone https://github.com/tmux/tmux.git tmux
- cd tmux
- git checkout $TMUX_VERSION
- sh autogen.sh
- ./configure --prefix=$HOME/tmux && make && make install
- export PATH=$HOME/tmux/bin:$PATH
- cd ..
- tmux -V
script:
- py.test --cov
- make flake8
addons:
apt:
packages:
- libevent-dev
- libncurses-dev
after_success:
- codecov