language: ruby
rvm:
  - "1.9.3"
  - "2.0.0"
env:
  - TMUX_VERSION=master
  - TMUX_VERSION=1.9
  - TMUX_VERSION=1.8
  - TMUX_VERSION=1.7
  - TMUX_VERSION=1.6
  - TMUX_VERSION=1.5
matrix:
  allow_failures:
    - env: TMUX_VERSION=1.7
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq libevent-dev libncurses-dev
  - git clone git://git.code.sf.net/p/tmux/tmux-code tmux
  - cd tmux
  - git checkout $TMUX_VERSION
  - sh autogen.sh
  - ./configure && make && sudo make install
  - cd ..
  - tmux -V
script: bundle exec rspec spec

language: ruby
rvm:
  - "1.9.3"
  - "2.0.0"
  - "2.1.2"
env:
  - TMUX_VERSION=master
  - TMUX_VERSION=1.9
  - TMUX_VERSION=1.8
  - TMUX_VERSION=1.7
  - TMUX_VERSION=1.6
  - TMUX_VERSION=1.5
matrix:
  allow_failures:
    - env: TMUX_VERSION=1.7
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq libevent-dev libncurses-dev
  - git clone git://git.code.sf.net/p/tmux/tmux-code tmux
  - cd tmux
  - git checkout $TMUX_VERSION
  - sh autogen.sh
  - ./configure && make && sudo make install
  - cd ..
  - tmux -V
script: bundle exec rspec spec

Add Ruby 2.1.2 to CI.
Add Ruby 2.1.2 to CI.
