aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-12-07 19:41:45 +0100
committerLoïc Hoguin <[email protected]>2013-12-07 19:41:45 +0100
commit91b83d48209b16b3a4d91bf1781ddc8b8bf1e7c1 (patch)
tree2d0335d133a0c7f4744cce6f6695f228639ce92f
parentc331076bad75ed89ff01c67d9e2c12688da7cc10 (diff)
downloadranch-91b83d48209b16b3a4d91bf1781ddc8b8bf1e7c1.tar.gz
ranch-91b83d48209b16b3a4d91bf1781ddc8b8bf1e7c1.tar.bz2
ranch-91b83d48209b16b3a4d91bf1781ddc8b8bf1e7c1.zip
Ranch is supported on R15B01+
Add a script that runs the test suite on all Erlang versions starting from R15B01. R15B is not supported due to issues with sendfile.
-rwxr-xr-xall.sh19
-rw-r--r--guide/introduction.md15
2 files changed, 34 insertions, 0 deletions
diff --git a/all.sh b/all.sh
new file mode 100755
index 0000000..cbafc3f
--- /dev/null
+++ b/all.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+KERL_INSTALL_PATH=~/erlang
+KERL_RELEASES="r15b01 r15b02 r15b03 r16b r16b01 r16b02"
+
+make build-tests
+
+for rel in $KERL_RELEASES
+do
+ echo
+ echo " TESTING $rel"
+ echo
+ . $KERL_INSTALL_PATH/$rel/activate
+ cp ~/.kerl/builds/$rel/otp_src_*/lib/ssl/test/erl_make_certs.erl \
+ deps/ct_helper/src/
+ make tests
+done
+
+xdg-open logs/all_runs.html
diff --git a/guide/introduction.md b/guide/introduction.md
index 531f68c..b34a5bc 100644
--- a/guide/introduction.md
+++ b/guide/introduction.md
@@ -15,3 +15,18 @@ Prerequisites
It is assumed the developer already knows Erlang and has some experience
with socket programming and TCP protocols.
+
+Supported platforms
+-------------------
+
+Ranch is tested and supported on Linux.
+
+Ranch has been reported to work on other platforms, but we make no
+guarantee that the experience will be safe and smooth. You are advised
+to perform the necessary testing and security audits prior to deploying
+on other platforms.
+
+Ranch is developed for Erlang R15B01 and later versions.
+
+Ranch may be compiled on earlier Erlang versions with small source code
+modifications but there is no guarantee that it will work as expected.