aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml5
-rw-r--r--rebar.config.script2
2 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 9b12a1c..9833c26 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,8 @@
language: erlang
otp_release:
+ - 17.0-rc1
+ - R16B03-1
+ - R16B03
- R16B02
- R16B01
- R16B
@@ -21,4 +24,4 @@ notifications:
channels:
- "irc.freenode.org#erlware"
use_notice: true
- skip_join: true \ No newline at end of file
+ skip_join: true
diff --git a/rebar.config.script b/rebar.config.script
index c19a751..819fc7b 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -1,4 +1,4 @@
-{match, [ErtsNumber]} = re:run(erlang:system_info(otp_release), "R(\\d+).+", [{capture, [1], list}]),
+{match, [ErtsNumber]} = re:run(erlang:system_info(otp_release), "(\\d+)", [{capture, [0], list}]),
ErtsVsn = erlang:list_to_integer(ErtsNumber),
Opts1 = case lists:keysearch(erl_opts, 1, CONFIG) of
{value, {erl_opts, Opts0}} ->