aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/run-dialyzer
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-06-14 10:44:35 +0200
committerLukas Larsson <[email protected]>2018-06-18 16:09:55 +0200
commit36001798500e6ddecd597a5694a7ee25ab4e6a64 (patch)
tree2d2167a98b99f1005dd73687bda5cd959ec71ee4 /scripts/run-dialyzer
parent360b68d76d8c297d950616f088458b7c239be7ee (diff)
downloadotp-36001798500e6ddecd597a5694a7ee25ab4e6a64.tar.gz
otp-36001798500e6ddecd597a5694a7ee25ab4e6a64.tar.bz2
otp-36001798500e6ddecd597a5694a7ee25ab4e6a64.zip
Add deploy stage to travis-ci
Diffstat (limited to 'scripts/run-dialyzer')
-rwxr-xr-xscripts/run-dialyzer5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/run-dialyzer b/scripts/run-dialyzer
index c9da647952..621de3fa65 100755
--- a/scripts/run-dialyzer
+++ b/scripts/run-dialyzer
@@ -1,16 +1,17 @@
#!/bin/bash
set -e
+set -x
$ERL_TOP/bin/dialyzer --build_plt --apps asn1 compiler crypto dialyzer edoc erts et ftp hipe inets kernel mnesia observer public_key runtime_tools snmp ssh ssl stdlib syntax_tools tftp wx xmerl --statistics
$ERL_TOP/bin/dialyzer -n -Wunknown -Wunmatched_returns --apps compiler erts ftp tftp kernel stdlib asn1 crypto dialyzer hipe parsetools public_key runtime_tools sasl tools --statistics
$ERL_TOP/bin/dialyzer -n --apps common_test debugger edoc ftp inets mnesia observer ssh ssl syntax_tools tftp wx xmerl --statistics
# In travis we don't dialyze everything as it takes too much time
-if [ "X$DIALYZE_ALL_APPLICATIONS" = "Xtrue" ]; then
+if [ "X$TRAVIS" != "Xtrue" ]; then
$ERL_TOP/bin/dialyzer -n -Wunknown -Wunmatched_returns --apps eldap erl_docgen et odbc --statistics
$ERL_TOP/bin/dialyzer -n --apps eunit reltool os_mon --statistics
# These application are not run always as the currently have dialyzer warnings
- # $ERL_TOP/bin/dialyzer -n --apps cosEvent cosEventDomain cosFileTransfer cosNotification cosProperty cosTime cosTransactions diameter megaco orber snmp --statistics
+ # $ERL_TOP/bin/dialyzer -n --apps diameter megaco snmp --statistics
fi