File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
TEST_ROOT=" $( pwd) /test"
4
4
ASSETS_ROOT=" $( pwd) /assets"
5
5
6
- MIX_ENV=test mix compile --warnings-as-errors --force || {
6
+ mix compile --warnings-as-errors --force || {
7
7
echo ' Please fix all compiler warnings.'
8
8
exit 1
9
9
}
10
- MIX_ENV=test mix credo --strict --ignore design,consistency || {
10
+ mix credo --strict --ignore design,consistency || {
11
11
echo ' Elixir code failed Credo linting. See warnings above.'
12
12
exit 1
13
13
}
14
- MIX_ENV=test mix docs || {
14
+ mix docs || {
15
15
echo ' Elixir HTML docs were not generated!'
16
16
exit 1
17
17
}
@@ -60,9 +60,9 @@ echo "[DEBUG] Current Elixir Version: $iexCurrentVersion"
60
60
otpCurrentVersion=" $( erl -eval ' erlang:display(erlang:system_info(otp_release)), halt().' -noshell | sed ' s/\"//g' ) "
61
61
echo " [DEBUG] Current OTP Version: $otpCurrentVersion "
62
62
63
- requiredMinVersion=" 24 "
63
+ requiredMinVersion=" 23 "
64
64
if [ " $( printf ' %s\n' " $requiredMinVersion " " $otpCurrentVersion " | sort -Vr | head -n1) " = " $requiredMinVersion " ]; then
65
- echo ' [Skipping] OTP 24 + is required for Phoenix 1.7+'
65
+ echo ' [Skipping] OTP 23 + is required for Phoenix 1.7+'
66
66
else
67
67
cd " $TEST_ROOT /support/apps/phx1_7" && {
68
68
bin/test || {
You can’t perform that action at this time.
0 commit comments