Andreas Stenius 11 лет назад
Родитель
Сommit
6644221dd7
3 измененных файлов с 23 добавлено и 2 удалено
  1. 13 2
      .travis.yml
  2. 6 0
      README.markdown
  3. 4 0
      rebar.config

+ 13 - 2
.travis.yml

@@ -1,11 +1,22 @@
 language: erlang
 otp_release:
-#  - 17.0-rc1
+# Test on all supported releases accepted by the `require_otp_vsn` in rebar.config
+#  - 17.0-rc2  not yet supported
+#  - 17.0-rc1  not yet supported
   - R16B03-1
+#  - R16B03 this version is broken!
   - R16B02
+  - R16B01
+  - R16B
+  - R15B03-1
   - R15B03
-#  - R14B04 (seems lists:concat/1 is broken on R14B04..)
+  - R15B02
+  - R15B01
+  - R15B
 
 # since Travis is naughty and calls rebar get-deps behind our backs,
 # we'll have to clean it up and build merl our selves..
 script: "make -C deps/merl && make tests"
+
+notifications:
+  irc: "chat.freenode.net#erlydtl"

+ 6 - 0
README.markdown

@@ -52,6 +52,12 @@ To compile ErlyDTL, run
 in this directory.
 
 
+#### Do not use Erlang R16B03
+
+The erl syntax tools is broken in Erlang R16B03, use R16B03-1 or any
+other supported version instead.
+
+
 Template compilation
 --------------------
 

+ 4 - 0
rebar.config

@@ -1,5 +1,9 @@
 %% -*- mode: erlang -*-
 
+%% accept any R15B, any R16B except R16B03
+%% also accept OTP v17, altough it may not work properly on that release yet..
+{require_otp_vsn, "R15B|R16B$|R16B[^0]|R16B0[^3]|R16B03-1|17"}.
+
 {erl_opts, [debug_info]}.
 {yrl_opts, [{includefile, "include/erlydtl_preparser.hrl"}]}.