language: rust

rust:
  - stable
  - beta
  - nightly

matrix:
  allow_failures:
    - rust: nightly

env:
  - ARCH=x86_64
  - ARCH=i686

os:
  - linux
  #- osx

addons:
  apt:
    packages:
      - tmux

notifications:
  email: false

language: rust

rust:
  - stable
  - beta
  - nightly

matrix:
  allow_failures:
    - rust: nightly
    - env: TMUX_VERSION=master
    - env: TMUX_VERSION=1.9a

env:
  - ARCH=x86_64 TMUX_VERSION=2.2
  - ARCH=i686 TMUX_VERSION=2.2
  - TMUX_VERSION=master
  - TMUX_VERSION=2.2
  - TMUX_VERSION=2.1
  - TMUX_VERSION=2.0
  - TMUX_VERSION=1.9a
  - TMUX_VERSION=1.8

os:
  - linux
  #- osx

before_script:
  - sudo apt-get remove tmux
  - 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

notifications:
  email: false

Add new tmux versions to test against
Add new tmux versions to test against

Accept 1.9a as a failure. I can't figure out why it errors on a random test every run.
