aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
blob: 147ba9f835efbea2a9ff1e80cd4a5a486d028979 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"