-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from danikp/master
Some basic stuff
- Loading branch information
Showing
8 changed files
with
79 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
ebin/ | ||
*~ | ||
/.project | ||
/.settings/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
language: erlang | ||
otp_release: | ||
- 17.1 | ||
- 17.0 | ||
- R16B03-1 | ||
- R16B02 | ||
- R16B01 | ||
|
||
script: | ||
- rebar get-deps | ||
- rebar compile | ||
- rebar eunit -v skip_deps=true | ||
- make test | ||
- mkdir plt | ||
- ./travis-dialyzer.sh | ||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{erl_opts, [debug_info]}. | ||
{deps, [ | ||
{tiny_pq, ".*", {git, "git://github.com/ChicagoBoss/tiny_pq.git", {tag, "v0.8.9"}}} | ||
{tiny_pq, ".*", {git, "git://github.com/ChicagoBoss/tiny_pq.git", {tag, "v0.8.14"}}} | ||
]}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/bin/bash | ||
|
||
|
||
PLT=plt/tinymq-$RANDOM.plt | ||
echo "PLT File $PLT" | ||
export PATH=$PATH:/usr/local/bin:/usr/bin | ||
echo "Building PLT, may take a few minutes" | ||
dialyzer --build_plt --apps kernel stdlib\ | ||
--output_plt $PLT > /dev/null | ||
for app in mnesia inets ssl crypto \ | ||
erts public_key runtime_tools compiler asn1 hipe\ | ||
syntax_tools | ||
do | ||
echo $app | ||
dialyzer --add_to_plt --apps $app\ | ||
--plt $PLT > /dev/null | ||
done | ||
rm -f deps/riak_*/ebin/*_pb.beam | ||
echo "********************************************************************************" | ||
for app in $(ls deps/) | ||
do | ||
echo "Adding $app" | ||
dialyzer --add_to_plt --apps deps/$app \ | ||
--plt $PLT > /dev/null | ||
|
||
|
||
done | ||
echo "********************************************************************************" | ||
echo "" | ||
|
||
dialyzer ebin/ \ | ||
-Werror_handling \ | ||
-Wno_undefined_callbacks \ | ||
-Wrace_conditions \ | ||
--statistics -n \ | ||
--fullpath \ | ||
-n \ | ||
--plt $PLT # -Wunmatched_returns | ||
# | ||
|
||
|
||
|