general:
  artifacts:
    - "test/pkgs.log"

dependencies:
  cache_directories:
    - "~/.kerl"
    - "~/erlang"

  pre:
    - sudo apt-get update
    - sudo apt-get install autoconf2.59 gcc
    - cd $HOME/bin && ln -s /usr/bin/autoconf2.59 autoconf
    - cd $HOME/bin && ln -s /usr/bin/autoheader2.59 autoheader
    - CI_OTP=OTP-18.0.2 make -f core/core.mk -f plugins/ci.mk ci-prepare:
        timeout: 3600

test:
  override:
    - source $HOME/erlang/OTP-18.0.2/activate && make -j 32 -k check
    - source $HOME/erlang/OTP-18.0.2/activate && make -j 32 -k check LEGACY=1

general:
  artifacts:
    - "test/pkgs.log"

dependencies:
  cache_directories:
    - "~/.kerl"
    - "~/erlang"

  pre:
    - sudo apt-get update
    - sudo apt-get install autoconf2.59 gcc
    - cd $HOME/bin && ln -s /usr/bin/autoconf2.59 autoconf
    - cd $HOME/bin && ln -s /usr/bin/autoheader2.59 autoheader
    - CI_OTP=OTP-18.0.2 make -f core/core.mk -f plugins/ci.mk ci-prepare:
        timeout: 3600

test:
  override:
    - source $HOME/erlang/OTP-18.0.2/activate && make -k check
    - source $HOME/erlang/OTP-18.0.2/activate && make -k check LEGACY=1

Disable parallel testing on CircleCI
Disable parallel testing on CircleCI

Now that we have Dialyzer tests, we run out of memory if we run
too many at the same time.
