From 7d213f69e8e2fc6870ae931e19a6d83b2d963710 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Wed, 21 Oct 2015 12:45:40 -0500 Subject: [PATCH] Migrate to travis container infrastructure See also: http://docs.travis-ci.com/user/migrating-from-legacy/ --- .travis.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a9af4b2b8f5..b91cb6a5d05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: python +sudo: false python: - 2.6 - 2.7 @@ -11,21 +12,24 @@ env: - TMUX_VERSION=1.8 - TMUX_VERSION=1.9a before_install: - - sudo apt-get update -qq - export PIP_USE_MIRRORS=true - pip install coveralls install: - "pip install -e ." before_script: - - sudo apt-get install -qq libevent-dev libncurses-dev - git clone https://github.com/tmux/tmux.git tmux - cd tmux - git checkout $TMUX_VERSION - sh autogen.sh - - ./configure && make && sudo make install + - ./configure --prefix=$HOME/tmux && make && make install + - export PATH=$PATH:$HOME/tmux/bin - cd .. - tmux -V script: coverage run --source=tmuxp setup.py test -# script: python setup.py test +addons: + apt: + packages: + - libevent-dev + - libncurses-dev after_success: - coveralls