language: rust

dist: trusty

before_install:
    - sudo apt-get -qq update
    - sudo apt-get install -y apt-transport-https
    - wget https://apt.z.cash/pool/main/z/zcash/zcash-1.0.7-1-amd64.deb
    - sudo dpkg -i zcash-1.0.7-1-amd64.deb
    - zcashd --regtest

language: rust

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - libstdc++-4.9

before_install:
    - sudo apt-get -qq update
    - sudo apt-get install -y apt-transport-https
    - wget https://apt.z.cash/pool/main/z/zcash/zcash-1.0.7-1-amd64.deb
    - sudo dpkg -i zcash-1.0.7-1-amd64.deb
    - zcashd --regtest

Add toolchain-r-test addon + libstc++ v4.9
Add toolchain-r-test addon + libstc++ v4.9
