diff --git a/.gitignore b/.gitignore index 60bad93..2a0834c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,9 @@ ebin rel/example_project .concrete/DEV_MODE .rebar +TEST*.xml +_build + ### JetBrains template # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio diff --git a/.travis.yml b/.travis.yml index bbeaeb9..5c3fbc3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ sudo: false language: erlang otp_release: + - 17.0 + - 17.1 + - 17.2 + - 17.4 - 17.5 - 18.0 - 18.1 @@ -8,9 +12,7 @@ otp_release: - 18.2.1 before_install: - pip install --user codecov -#before_script: -# - make build-plt -script: make test +script: bin/rebar3 eunit after_success: - - bin/covertool -cover .eunit/cover.coverdata -appname urilib -output cobertura.xml + - bin/covertool -cover _build/test/cover/eunit.coverdata -appname urilib -output cobertura.xml - codecov diff --git a/rebar.config b/rebar.config index 66fa2a4..acf7e67 100644 --- a/rebar.config +++ b/rebar.config @@ -1,17 +1,9 @@ %% -*- erlang -*- {cover_enabled, true}. -{cover_print_enabled, true}. -{cover_export_enabled, true}. +{cover_opts, [verbose]}. {clean_files, ["*.eunit", "ebin/*.beam"]}. -{deps, [ - {edown, ".*", {git, "https://github.com/uwiger/edown.git", "HEAD"}} -]}. +{dialyzer, [{plt_extra_apps, [kernel, stdlib, erts, inets, edoc]}]}. {erl_opts, [fail_on_warning]}. -{edoc_opts, [{doclet, edown_doclet}, - {src_path, ["src/"]}, - {stylesheet, ""}, - {image, ""}, - {edown_target, github}]}. {eunit_exclude_deps, true}. -{eunit_opts, [verbose, {skip_deps, true}, {report,{eunit_surefire,[{dir,"."}]}}]}. -{lib_dirs,["deps"]}. +{eunit_opts, [verbose, {skip_deps, true}]}. +{minimum_otp_vsn, "17.0"}. diff --git a/src/urilib.app.src b/src/urilib.app.src index ddca254..ccca358 100644 --- a/src/urilib.app.src +++ b/src/urilib.app.src @@ -1,6 +1,9 @@ {application, urilib, [ {description, "RFC-3986 URI Library"}, - {vsn, "0.1.0"}, + {vsn,"git"}, + {licenses, ["BSD"]}, + {links, [{"Github", "https://github.com/gmr/urilib"}]}, + {maintainers, ["Gavin M. Roy"]}, {registered, [urilib]}, {applications, [ kernel,