aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-08-13 15:58:36 +0200
committerLoïc Hoguin <[email protected]>2015-08-13 16:04:08 +0200
commit54a3931ff0423ef51c4ab3c8a97bee2b52d78e6a (patch)
treef8b80e6d8b520b5748184bc9c5504eb198bf5e10
parent9508d521c4f8ffd88374281c8e37ebaaa262a784 (diff)
downloadranch-54a3931ff0423ef51c4ab3c8a97bee2b52d78e6a.tar.gz
ranch-54a3931ff0423ef51c4ab3c8a97bee2b52d78e6a.tar.bz2
ranch-54a3931ff0423ef51c4ab3c8a97bee2b52d78e6a.zip
Add initial circle.yml file
Only half the OTP versions are enabled so far, and the build will probably fail, but gotta start somewhere.
-rw-r--r--Makefile1
-rw-r--r--circle.yml21
2 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c29e45f..f925f5b 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ dep_ct_helper = git https://github.com/extend/ct_helper.git master
COMPILE_FIRST = ranch_transport
PLT_APPS = crypto public_key ssl
+CI_OTP = OTP_R15B01 OTP_R15B02 OTP_R15B03-1 OTP_R16B01 OTP_R16B02 OTP_R16B03-1 # OTP-17.0.2 OTP-17.1.2 OTP-17.2.2 OTP-17.3.4 OTP-17.4.1 OTP-17.5.6.2 OTP-18.0.2
# Standard targets.
diff --git a/circle.yml b/circle.yml
new file mode 100644
index 0000000..1e712d3
--- /dev/null
+++ b/circle.yml
@@ -0,0 +1,21 @@
+general:
+ artifacts:
+ - "logs"
+
+dependencies:
+ cache_directories:
+ - "~/.kerl"
+ - "~/erlang"
+
+ pre:
+ - sudo apt-get install autoconf2.59
+ - cd $HOME/bin && ln -s /usr/bin/autoconf2.59 autoconf
+ - cd $HOME/bin && ln -s /usr/bin/autoheader2.59 autoheader
+ - make ci-prepare:
+ timeout: 7200
+
+test:
+ override:
+ - source $HOME/erlang/OTP-18.0.2/activate && make dialyze
+ - make -k ci:
+ timeout: 3600