Skip to content

Commit 2d25a34

Browse files
committed
Migrate to travis container infrastructure
See also: http://docs.travis-ci.com/user/migrating-from-legacy/
1 parent 03b88fd commit 2d25a34

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.travis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: python
22

3+
sudo: false
34
python:
45
- 2.6
56
- 2.7
@@ -11,21 +12,24 @@ env:
1112
- TMUX_VERSION=1.8
1213
- TMUX_VERSION=1.9a
1314
before_install:
14-
- sudo apt-get update -qq
1515
- export PIP_USE_MIRRORS=true
1616
- pip install coveralls
1717
install:
18-
- "pip install -e ."
18+
- pip install -e .
1919
before_script:
20-
- sudo apt-get install -qq libevent-dev libncurses-dev
2120
- git clone https://github.com/tmux/tmux.git tmux
2221
- cd tmux
2322
- git checkout $TMUX_VERSION
2423
- sh autogen.sh
25-
- ./configure && make && sudo make install
24+
- ./configure --prefix=$HOME/tmux && make && make install
25+
- export PATH=$PATH:$HOME/tmux/bin
2626
- cd ..
2727
- tmux -V
2828
script: coverage run --source=tmuxp setup.py test
29-
# script: python setup.py test
29+
addons:
30+
apt:
31+
packages:
32+
- libevent-dev
33+
- libncurses-dev
3034
after_success:
3135
- coveralls

0 commit comments

Comments
 (0)