diff --git a/.travis.yml b/.travis.yml index 4b459ef..488fdcb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,23 @@ language: erlang -script: "make test" + +os: linux + +dist: xenial + +before_install: + - pip install --user cpp-coveralls coveralls-merge + +install: + - rebar get-deps + +script: rebar compile && rebar skip_deps=true eunit + +after_success: + - cpp-coveralls --exclude lib --exclude tests --gcov-options '\-lp' --dump c.json + - coveralls-merge c.json erlang.json + otp_release: - - 18.0 - - 17.4 - - 17.3 - R16B03-1 - - R15B03 - - R14B04 \ No newline at end of file + - 17.3 + - 19.3 + - 23.0 diff --git a/rebar b/rebar index 14e5c22..24cf4a6 100755 Binary files a/rebar and b/rebar differ diff --git a/rebar.config b/rebar.config index 730945a..b630888 100644 --- a/rebar.config +++ b/rebar.config @@ -3,6 +3,7 @@ {"darwin", "priv/sqlite3_drv.so", ["c_src/*.c", "sqlite3_amalgamation/*.c"]}]}. {port_env, [{"DRV_CFLAGS", "$DRV_CFLAGS -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes"}, {"DRV_LDFLAGS", "$DRV_LDFLAGS -lsqlite3"}, + {"ERL_LDFLAGS", " -L$ERL_EI_LIBDIR -lei"}, {"darwin", "DRV_CFLAGS", "$DRV_CFLAGS -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes"}, {"darwin", "DRV_LDFLAGS", "$DRV_LDFLAGS"}, {".*win32.*", "DRV_CFLAGS", "$DRV_CFLAGS /O2 /Isqlite3_amalgamation /Ic_src /W4 /wd4100 /wd4204 /wd4820 /wd4255 /wd4668 /wd4710 /wd4711"},