0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Update CI

This commit is contained in:
Loïc Hoguin 2016-01-15 13:48:35 +01:00
parent 3d48e58111
commit e84e06d8f9
4 changed files with 6 additions and 24 deletions

View file

@ -10,7 +10,8 @@ PROJECT_REGISTERED = cowboy_clock
COMPILE_FIRST = cowboy_middleware cowboy_stream cowboy_sub_protocol COMPILE_FIRST = cowboy_middleware cowboy_stream cowboy_sub_protocol
PLT_APPS = public_key ssl PLT_APPS = public_key ssl
CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl
CI_OTP = OTP-18.0.3 OTP-18.1
CI_OTP = OTP-18.0.3 OTP-18.1.5 OTP-18.2.2
# Dependencies. # Dependencies.

19
all.sh
View file

@ -1,19 +0,0 @@
#!/bin/sh
KERL_INSTALL_PATH=~/erlang
KERL_RELEASES="17.0 17.1.2 17.3"
make build-ct-suites
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/
CT_OPTS="-label $rel" make tests
done
xdg-open logs/all_runs.html

View file

@ -13,11 +13,11 @@ dependencies:
- sudo apt-get install autoconf2.59 - sudo apt-get install autoconf2.59
- cd $HOME/bin && ln -s /usr/bin/autoconf2.59 autoconf - cd $HOME/bin && ln -s /usr/bin/autoconf2.59 autoconf
- cd $HOME/bin && ln -s /usr/bin/autoheader2.59 autoheader - cd $HOME/bin && ln -s /usr/bin/autoheader2.59 autoheader
- make ci-prepare: - MAKEFLAGS="-j 32" make ci-prepare:
timeout: 3600 timeout: 3600
test: test:
override: override:
- source $HOME/erlang/OTP-18.0.2/activate && make dialyze - source $HOME/erlang/OTP-18.2.2/activate && make dialyze
- make -k ci: - make -k ci:
timeout: 3600 timeout: 3600

4
erlang.mk vendored
View file

@ -16,7 +16,7 @@
ERLANG_MK_FILENAME := $(realpath $(lastword $(MAKEFILE_LIST))) ERLANG_MK_FILENAME := $(realpath $(lastword $(MAKEFILE_LIST)))
ERLANG_MK_VERSION = 2.0.0-pre.2-72-g86ddfb5 ERLANG_MK_VERSION = 2.0.0-pre.2-73-g87285ad
# Core configuration. # Core configuration.
@ -5095,7 +5095,7 @@ $(if $(filter-out -Werror,$1),\
endef endef
define compat_erlc_opts_to_list define compat_erlc_opts_to_list
[$(call comma_list,$(foreach o,$(call compat_prepare_erlc_opts,$1),$(call compat_convert_erlc_opts,$o)))] [$(call comma_list,$(foreach o,$(call compat_prepare_erlc_opts,$1),$(call compat_convert_erlc_opts,$o)))]
endef endef
define compat_rebar_config define compat_rebar_config