elasticsearch-elixir/bin/test
Daniel Berkompas a33e809557 Format codebase
Using more recent best practices.
2018-01-02 06:53:51 -08:00

11 lines
492 B
Bash
Executable file

#!/usr/bin/env bash
#
# Continuous Integration Script
#
# This script contains all the test commands for this app, which will be run
# on the continuous integration server.
MIX_ENV=test mix compile --warnings-as-errors --force || { echo 'Please fix all compiler warnings.'; exit 1; }
MIX_ENV=test mix docs || { echo 'Elixir HTML docs were not generated!'; exit 1; }
MIX_ENV=test mix dialyze || { echo 'Dialyzer checks failed.'; exit 1; }
mix test || { echo 'Elixir tests failed!'; exit 1; }