#!/bin/sh

# script/cibuild: Setup environment for CI to run tests. This is primarily
#                 designed to run on the continuous integration server.

set -e

cat script/misc/oteascii.txt

echo "Tests started at…"
date "+%H:%M:%S"

git pull origin develop
make bindata
make less
go build

# run tests
echo "Running tests…"
date "+%H:%M:%S"

# run tests.
script/test
