language: rust

rust:
  - nightly-2016-08-18
  - nightly

matrix:
  allow_failures:
    - rust: nightly

script: scripts/travis_build.sh

before_script:
  - (cargo install xargo || true)
  - PATH=$PATH:~/.cargo/bin

addons:
  apt:
    packages:
      - cmake
      - libssl-dev
    sources:
      - kalakris-cmake

language: rust

rust: nightly

cache: cargo

script: scripts/travis_build.sh

before_script:
  - (cargo install xargo || true)
  - PATH=$PATH:~/.cargo/bin

addons:
  apt:
    packages:
      - cmake
      - libssl-dev
    sources:
      - kalakris-cmake

Remove old stable nightly builds and use only nightly. Cache cargo.
Remove old stable nightly builds and use only nightly. Cache cargo.
