Merge pull request #3 from badlop/fixtravis
Update Travis setup to compile with up to 23.0. Update Rebar
This commit is contained in:
26
.travis.yml
26
.travis.yml
@@ -1,9 +1,23 @@
|
|||||||
language: erlang
|
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:
|
otp_release:
|
||||||
- 18.0
|
|
||||||
- 17.4
|
|
||||||
- 17.3
|
|
||||||
- R16B03-1
|
- R16B03-1
|
||||||
- R15B03
|
- 17.3
|
||||||
- R14B04
|
- 19.3
|
||||||
|
- 23.0
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
{"darwin", "priv/sqlite3_drv.so", ["c_src/*.c", "sqlite3_amalgamation/*.c"]}]}.
|
{"darwin", "priv/sqlite3_drv.so", ["c_src/*.c", "sqlite3_amalgamation/*.c"]}]}.
|
||||||
{port_env, [{"DRV_CFLAGS", "$DRV_CFLAGS -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes"},
|
{port_env, [{"DRV_CFLAGS", "$DRV_CFLAGS -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes"},
|
||||||
{"DRV_LDFLAGS", "$DRV_LDFLAGS -lsqlite3"},
|
{"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_CFLAGS", "$DRV_CFLAGS -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes"},
|
||||||
{"darwin", "DRV_LDFLAGS", "$DRV_LDFLAGS"},
|
{"darwin", "DRV_LDFLAGS", "$DRV_LDFLAGS"},
|
||||||
{".*win32.*", "DRV_CFLAGS", "$DRV_CFLAGS /O2 /Isqlite3_amalgamation /Ic_src /W4 /wd4100 /wd4204 /wd4820 /wd4255 /wd4668 /wd4710 /wd4711"},
|
{".*win32.*", "DRV_CFLAGS", "$DRV_CFLAGS /O2 /Isqlite3_amalgamation /Ic_src /W4 /wd4100 /wd4204 /wd4820 /wd4255 /wd4668 /wd4710 /wd4711"},
|
||||||
|
|||||||
Reference in New Issue
Block a user