aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
blob: d7e7e3e077d020cebfde0bbb8feb0d02cdd16e75 (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
26
27
28
29
build_task:
  container:
    image: circleci/erlang:21
  rebar3_cache:
    folder: _build
    fingerprint_script: cat rebar.lock
    populate_script: rebar3 compile --deps_only

test_task:
  container:
    image: circleci/erlang:21
  depends_on:
    - build
  rebar3_cache:
    folder: _build
    fingerprint_script: cat rebar.lock
  test_script: rebar3 ct
  always:
    junit_artifacts:
      path: "_build/test/logs/ct_run.*/junit_report.xml"

osx_check_task:
  osx_instance:
    image: mojave-base
  install_script: brew install erlang
  test_script: |
    wget https://s3.amazonaws.com/rebar3/rebar3
    chmod +x rebar3
    ./rebar3 ct