language: rust
rust: nightly

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y libsqlite3-dev g++-4.8
  - export CXX="g++-4.8" CC="gcc-4.8"
  - wget https://download.libsodium.org/libsodium/releases/LATEST.tar.gz
  - tar zxf LATEST.tar.gz
  - cd libsodium-* && ./configure && make && sudo make install && sudo ldconfig
  - wget https://capnproto.org/capnproto-c++-0.5.3.tar.gz
  - tar zxf capnproto-c++-0.5.3.tar.gz
  - cd capnproto-c++-0.5.3 && ./configure && sudo make install && sudo ldconfig

script:
  - cargo build --verbose
  - cargo test --verbose
  - cargo doc

language: rust
rust: nightly

before_install:
  - sudo apt-get update -qq
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get install -y libsqlite3-dev g++-4.8
  - export CXX="g++-4.8" CC="gcc-4.8"
  - wget https://download.libsodium.org/libsodium/releases/LATEST.tar.gz
  - tar zxf LATEST.tar.gz
  - cd libsodium-* && ./configure && make && sudo make install && sudo ldconfig
  - wget https://capnproto.org/capnproto-c++-0.5.3.tar.gz
  - tar zxf capnproto-c++-0.5.3.tar.gz
  - cd capnproto-c++-0.5.3 && ./configure && sudo make install && sudo ldconfig

script:
  - cargo build --verbose
  - cargo test --verbose
  - cargo doc

Add Ubuntu toolchain testing repository
Add Ubuntu toolchain testing repository

Required for g++-4.8