language: java
jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk7
before_install:
  - yes | sudo add-apt-repository ppa:ubuntu-toolchain-r/test
  - sudo apt-get update
install:
  - sudo apt-get install g++-4.8 gcc-4.8
  - export CC=gcc-4.8
  - export CXX=g++-4.8
  - curl -O https://capnproto.org/capnproto-c++-0.5.1.1.tar.gz
  - tar zxf capnproto-c++-0.5.1.1.tar.gz
  - cd capnproto-c++-0.5.1.1
  - ./configure && make -j5 && sudo make install && cd ..
script:
  - make CXX=g++-4.8 CXX_FLAGS="-std=c++11 -I/usr/local/include -L/usr/local/lib -lcapnp -lkj"
  - make addressbook
  - sbt test


language: java
jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk7
before_install:
  - yes | sudo add-apt-repository ppa:ubuntu-toolchain-r/test
  - sudo apt-get update
install:
  - sudo apt-get install g++-4.8 gcc-4.8
  - export CC=gcc-4.8
  - export CXX=g++-4.8
  - curl -O https://capnproto.org/capnproto-c++-0.5.2.tar.gz
  - tar zxf capnproto-c++-0.5.2.tar.gz
  - cd capnproto-c++-0.5.2
  - ./configure && make -j5 && sudo make install && cd ..
script:
  - make CXX=g++-4.8 CXX_FLAGS="-std=c++11 -I/usr/local/include -L/usr/local/lib -lcapnp -lkj"
  - make addressbook
  - sbt test


Update capnproto version used by Travis.
Update capnproto version used by Travis.
