aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-11-12 22:31:02 +0100
committerLoïc Hoguin <[email protected]>2017-11-12 22:31:02 +0100
commit56dc5673d06e523a69c5b8b830f4d5462580e772 (patch)
tree28967466c57d9f862db36b48ad8030dfe939bf3b
parent6cc162583df2e476db6464a58c96318e3063bd19 (diff)
downloadcowboy-56dc5673d06e523a69c5b8b830f4d5462580e772.tar.gz
cowboy-56dc5673d06e523a69c5b8b830f4d5462580e772.tar.bz2
cowboy-56dc5673d06e523a69c5b8b830f4d5462580e772.zip
Use my new ci.erlang.mk plugin
Instead of tracking Erlang/OTP versions manually in each project, I can just say OTP-19+ and let the plugin fill in the most recent patch releases for each version. In addition I will configure the CI commands to cleanup unneeded versions automatically.
-rw-r--r--Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 6ea0e18..4d6cf27 100644
--- a/Makefile
+++ b/Makefile
@@ -11,10 +11,6 @@ COMPILE_FIRST = cowboy_middleware cowboy_stream cowboy_sub_protocol
PLT_APPS = public_key ssl
CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl
-CI_OTP ?= OTP-19.0.7 OTP-19.1.6 OTP-19.2.3 OTP-19.3.6.3 OTP-20.0.5 OTP-20.1.4
-CI_HIPE ?= $(lastword $(CI_OTP))
-# CI_ERLLVM ?= $(CI_HIPE)
-
# Dependencies.
LOCAL_DEPS = crypto
@@ -29,6 +25,16 @@ TEST_DEPS = ct_helper gun
dep_ct_helper = git https://github.com/extend/ct_helper master
dep_gun = git https://github.com/ninenines/gun master
+# CI configuration.
+
+BUILD_DEPS = ci.erlang.mk
+dep_ci.erlang.mk = git https://github.com/ninenines/ci.erlang.mk master
+DEP_EARLY_PLUGINS = ci.erlang.mk
+
+AUTO_CI_OTP ?= OTP-19+
+AUTO_CI_HIPE ?= OTP-LATEST
+# AUTO_CI_ERLLVM ?= OTP-LATEST
+
# Standard targets.
include erlang.mk