aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Fenoll <[email protected]>2018-03-16 09:50:13 +0100
committerGitHub <[email protected]>2018-03-16 09:50:13 +0100
commit0c17b5801cd91b44d1a1a9fe0ec75c62812cf4b5 (patch)
tree74e7fd893da396c92e09d9fc1d29599aa0318437
parente53e50aae93d6a6b08f60d4b3c2c1254084ac3fc (diff)
parent61f9bc7a8a5f61390b50de4524c30ed93cc7a228 (diff)
downloadkerl-0c17b5801cd91b44d1a1a9fe0ec75c62812cf4b5.tar.gz
kerl-0c17b5801cd91b44d1a1a9fe0ec75c62812cf4b5.tar.bz2
kerl-0c17b5801cd91b44d1a1a9fe0ec75c62812cf4b5.zip
Merge pull request #264 from fenollp/ci-centos6
ci-centos6: test centos6 + otp/20.2
-rw-r--r--.circleci/config.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 147ba9f..5524c10 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,5 +1,6 @@
version: 2
jobs:
+
build:
docker:
- image: debian:8
@@ -23,3 +24,38 @@ jobs:
kerl_deactivate
- run: ./kerl delete installation $(./kerl path install_$_KERL_VSN)
- run: ./kerl delete build "$_KERL_VSN"
+
+ centos6_20.2:
+ docker:
+ - image: centos:6
+ environment:
+ - _KERL_VSN: 20.2
+ - KERL_CONFIGURE_DISABLE_APPLICATIONS: 'odbc'
+ steps:
+ - run: yum -y update
+ - run: yum -y install curl ncurses-devel openssl-devel make automake autoconf gcc gcc-c++ gcc-java
+ - run: |
+ yum -y install https://centos6.iuscommunity.org/ius-release.rpm
+ # CircleCI checkout uses -B which isn't available in CentOS6's packaged git
+ yum -y install git2u
+ - checkout
+ - run: ./kerl update releases
+ - run:
+ command: ./kerl build "$_KERL_VSN" "$_KERL_VSN"
+ no_output_timeout: 45m
+ - run: ./kerl install "$_KERL_VSN" "install_$_KERL_VSN"
+ - run: ./kerl status
+ - run: |
+ set -x
+ source $(./kerl path install_$_KERL_VSN)/activate
+ erl -s crypto -s init stop
+ kerl_deactivate
+ - run: ./kerl delete installation $(./kerl path install_$_KERL_VSN)
+ - run: ./kerl delete build "$_KERL_VSN"
+
+workflows:
+ version: 2
+ test-workflow:
+ jobs:
+ - build
+ - centos6_20.2