dist:
  - trusty

language:
  - cpp

sudo:
  - false

os:
  - linux
  - osx

before_install:
  - ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto )
  - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ( cd ../capnproto ; git checkout v0.6.1 ) ; fi
  - ( cd ../capnproto/c++ ; ./setup-autotools.sh && autoreconf -i )
  - ( cd ../capnproto/c++ ; ./configure && make && sudo make install )

install:
  - sudo pip2 install jsonschema

script:
  - ./check.sh

