Browse Source

Update CI

Loïc Hoguin 9 years ago
parent
commit
e84e06d8f9
4 changed files with 6 additions and 24 deletions
  1. 2 1
      Makefile
  2. 0 19
      all.sh
  3. 2 2
      circle.yml
  4. 2 2
      erlang.mk

+ 2 - 1
Makefile

@@ -10,7 +10,8 @@ PROJECT_REGISTERED = cowboy_clock
 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-18.0.3 OTP-18.1
+
+CI_OTP = OTP-18.0.3 OTP-18.1.5 OTP-18.2.2
 
 # Dependencies.
 

+ 0 - 19
all.sh

@@ -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

+ 2 - 2
circle.yml

@@ -13,11 +13,11 @@ dependencies:
     - 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:
+    - MAKEFLAGS="-j 32" make ci-prepare:
         timeout: 3600
 
 test:
   override:
-    - source $HOME/erlang/OTP-18.0.2/activate && make dialyze
+    - source $HOME/erlang/OTP-18.2.2/activate && make dialyze
     - make -k ci:
         timeout: 3600

+ 2 - 2
erlang.mk

@@ -16,7 +16,7 @@
 
 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.
 
@@ -5095,7 +5095,7 @@ $(if $(filter-out -Werror,$1),\
 endef
 
 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
 
 define compat_rebar_config