language: rust
rust: nightly

before_install:
  - sudo apt-get update -qq
  - wget https://download.libsodium.org/libsodium/releases/LATEST.tar.gz
  - tar zxf LATEST.tar.gz
  - cd libsodium-* && ./configure && make && sudo make install && sudo ldconfig
  - sudo apt-get install -y libsqlite3-dev
  - 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 apt-get install -y libsqlite3-dev build-essential
  - 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

Make Travis CI install build essentials.
Make Travis CI install build essentials.

It is lacking C++ needed for capnproto.
