forked from tmux-python/tmuxp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (39 loc) · 861 Bytes
/
.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
sudo: false
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
env:
- TMUX_VERSION=master
- TMUX_VERSION=2.2
- TMUX_VERSION=2.1
- TMUX_VERSION=2.0
- TMUX_VERSION=1.8
- TMUX_VERSION=1.9a
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 coveralls
install:
- pip install -e .
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=$PATH:$HOME/tmux/bin
- cd ..
- tmux -V
script: coverage run --source=tmuxp setup.py test
addons:
apt:
packages:
- libevent-dev
- libncurses-dev
after_success:
- coveralls