language: elixir
elixir: '1.6.5'
otp_release: '20.0'

cache:
  directories:
  - $HOME/otp/

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y --no-install-recommends rustc cargo
  - rustc --version
  - cargo --version

env: MIX_ENV=test

# Compiling PactMockServer outputs a warning {:error, {:upgrade, 'Upgrade not supported by this NIF library.'}} which
# swallows coverage results for it. Running test twice solves this for now.
script:
  - mix test
  - mix coveralls.travis

after_script:
  - mix deps.get --only docs
  - MIX_ENV=docs mix inch.report
language: elixir
elixir: '1.6.5'
otp_release: '20.0'

cache:
  directories:
  - $HOME/otp/

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y --no-install-recommends rustc cargo
  - rustc --version
  - cargo --version

# https://askubuntu.com/questions/408784/after-doing-a-sudo-apt-get-install-app-where-does-the-application-get-stored
after_install:
  - dpkg -L rustc
  - dpkg -L cargo

env: MIX_ENV=test

# Compiling PactMockServer outputs a warning {:error, {:upgrade, 'Upgrade not supported by this NIF library.'}} which
# swallows coverage results for it. Running test twice solves this for now.
script:
  - mix test
  - mix coveralls.travis

after_script:
  - mix deps.get --only docs
  - MIX_ENV=docs mix inch.report
Debug path of installed apt packages
Debug path of installed apt packages