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

  pre:
    - sudo apt-get update
    - sudo apt-get install autoconf2.59
    - cd $HOME/bin && ln -s /usr/bin/autoconf2.59 autoconf
    - cd $HOME/bin && ln -s /usr/bin/autoheader2.59 autoheader
    - make ci-prepare:
        timeout: 3600

test:
  override:
    - source $HOME/erlang/OTP-18.0.3/activate && make dialyze
    - make -k ci:
        timeout: 3600
