aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorMark Allen <[email protected]>2017-11-25 22:43:38 -0600
committerGitHub <[email protected]>2017-11-25 22:43:38 -0600
commit52486335cd02b242caafd2fa098f134fb0073cf3 (patch)
tree17a18e66c70b437664292199ac80b8c3d75c4542 /.circleci/config.yml
parent8771e189a9a6b5ccbaf6f1f15031e3339b70e5a2 (diff)
parent78985ded0672d686c2868f13137eea7fdf5f7e10 (diff)
downloadkerl-52486335cd02b242caafd2fa098f134fb0073cf3.tar.gz
kerl-52486335cd02b242caafd2fa098f134fb0073cf3.tar.bz2
kerl-52486335cd02b242caafd2fa098f134fb0073cf3.zip
Merge pull request #246 from fenollp/circleci
circleci: add another CI provider for R15 builds
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000..147ba9f
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,25 @@
+version: 2
+jobs:
+ build:
+ docker:
+ - image: debian:8
+ environment:
+ - _KERL_VSN: R15B03-1
+ - KERL_CONFIGURE_DISABLE_APPLICATIONS: 'odbc'
+ steps:
+ - run: apt-get update && apt-get upgrade -y
+ - run: apt-get install -y git curl build-essential libncurses-dev libssl-dev
+ - 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"