11 lines
492 B
Bash
Executable file
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; }
|