#!/usr/bin/env bash
set -e
cd "$(dirname "${BASH_SOURCE[0]}")/.."
set -x

go test -race -timeout 10s ./interop/...
bundle exec rspec --format progress
composer test
npm test
npm run lint
bundle exec rubocop
(
  cd integration
  bundle exec rspec ./*_spec.rb --format documentation
)
