machine:
  environment:
    PATH: ${HOME}/extras/bin:${HOME}/extras/otp/18.1/bin:${PATH}
dependencies:
  cache_directories:
    - ~/extras
  pre:
    - curl -O -L https://raw.githubusercontent.com/yrashk/kerl/master/kerl && chmod 755 kerl
    - if [ ! -d ~/extras/otp/18.1 ]; then ./kerl build 18.1 18.1; ./kerl install 18.1 ~/extras/otp/18.1; fi
  override:
    - ./rebar get-deps
test:
  override:
    - ./rebar compile
    - ./rebar eunit skip_deps=true
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/
    - mv .eunit/*.xml $CIRCLE_TEST_REPORTS

machine:
  environment:
    PATH: ${HOME}/extras/bin:${HOME}/extras/otp/18.1/bin:${PATH}
dependencies:
  cache_directories:
    - ~/extras
  pre:
    - curl -O -L https://raw.githubusercontent.com/yrashk/kerl/master/kerl && chmod 755 kerl
    - if [ ! -d ~/extras/otp/18.1 ]; then ./kerl build 18.1 18.1; ./kerl install 18.1 ~/extras/otp/18.1; fi
  override:
    - ./rebar get-deps
test:
  override:
    - ./rebar compile
    - ./rebar eunit skip_deps=true
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/
    - mv .eunit/*.xml $CIRCLE_TEST_REPORTS
    - mv .eunit/*.html $CIRCLE_TEST_REPORTS

Make more data accessible about tests through Circle-CI console
Make more data accessible about tests through Circle-CI console
