language: rust

rust:
    - nightly
    - beta
    - stable

os:
    - linux
    - osx

addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev

sudo: false

before_script:
  - pip install 'travis-cargo<0.2' --user
  - export PATH=$HOME/.local/bin:/Users/travis/Library/Python/2.7/bin:$PATH

script:
    - rustc --version
    - cargo --version
    - travis-cargo build
    - travis-cargo test
    - travis-cargo --only nightly bench
    - travis-cargo --only stable doc

after_success:
    - if [ ${TRAVIS_OS_NAME} != "osx" ]; then travis-cargo coveralls --no-sudo; fi

env:
  global:
    # override the default `--features unstable` used for the nightly branch
    - TRAVIS_CARGO_NIGHTLY_FEATURE=""

language: rust

rust:
    - nightly
    - beta
    - stable
    - 1.3
    - 1.2
    - 1.1
    - 1.0

os:
    - linux
    - osx

addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev

sudo: false

before_script:
  - pip install 'travis-cargo<0.2' --user
  - export PATH=$HOME/.local/bin:/Users/travis/Library/Python/2.7/bin:$PATH

script:
    - rustc --version
    - cargo --version
    - travis-cargo build
    - travis-cargo test
    - travis-cargo --only nightly bench
    - travis-cargo --only stable doc

after_success:
    - if [ ${TRAVIS_OS_NAME} != "osx" ]; then travis-cargo coveralls --no-sudo; fi

env:
  global:
    # override the default `--features unstable` used for the nightly branch
    - TRAVIS_CARGO_NIGHTLY_FEATURE=""

Test older stable rust versions
Test older stable rust versions