cibuild 378 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. # script/cibuild: Setup environment for CI to run tests. This is primarily
  3. # designed to run on the continuous integration server.
  4. set -e
  5. cat script/misc/oteascii.txt
  6. echo "Tests started at…"
  7. date "+%H:%M:%S"
  8. git pull origin develop
  9. make bindata
  10. make less
  11. go build
  12. # run tests
  13. echo "Running tests…"
  14. date "+%H:%M:%S"
  15. # run tests.
  16. script/test