language: rust
sudo: false
cache: cargo
rust:
- nightly
- 1.9.0
python:
- 2.7
os:
- osx
- linux
env:
- RUST_BACKTRACE=1
script:
- cargo test

language: rust
sudo: false
cache: cargo
rust:
- nightly
- 1.9.0
matrix:
  include:
  - os: osx
    env:
    - OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include
    - OPENSSL_LIB_DIR=/usr/local/opt/openssl/lib
env:
- RUST_BACKTRACE=1
before_install:
- test TRAVIS_OS_NAME != "osx" || (brew update && brew install openssl)
script:
- cargo test

Use homebrew openssl on osx
Use homebrew openssl on osx
