language: rust
sudo: false
addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev

os:
  - linux
  - osx

# run builds for both all the trains
rust:
  - stable
  - beta
  - nightly

before_script:
  - |
      pip install 'travis-cargo<0.2' --user &&
      export PATH=$HOME/.local/bin:$PATH

script:
  - |
      travis-cargo build &&
      travis-cargo test &&
      travis-cargo --only stable doc
  - ./tests/full-cycle.sh

env:
  global:
    - TRAVIS_CARGO_NIGHTLY_FEATURE=""
notifications:
  email: false

language: rust
sudo: false
addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev

os:
  - linux
  - osx

# run builds for both all the trains
rust:
  - stable
  - beta
  - nightly

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

script:
  - |
      travis-cargo build &&
      travis-cargo test &&
      travis-cargo --only stable doc
  - ./tests/full-cycle.sh

env:
  global:
    - TRAVIS_CARGO_NIGHTLY_FEATURE=""
notifications:
  email: false

Set correct path for OSX
chore(CI): Set correct path for OSX
