diff options
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index bec8f21..2756823 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,9 +1,21 @@ -container: - image: circleci/erlang:21 - check_task: - # rebar3_cache: - # folder: _build - # fingerprint_script: cat rebar.lock - # populate_script: rebar compile + container: + image: circleci/erlang:21 + rebar3_cache: + folder: _build + fingerprint_script: cat rebar.lock + populate_script: rebar3 compile --deps_only + compile_script: rebar3 compile 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 |