language: elixir
elixir:
  - 1.4.5
  - 1.6.5
otp_release:
  - 19.3.6
  - 20.3.6
matrix:
    # We are only interested on the newest/oldest pair.
    exclude:
        - elixir: 1.6.5
          otp_release: 19.3.6
        - elixir: 1.4.5
          otp_release: 20.3.6
before_script:
  - MIX_ENV=test mix deps.get
  - MIX_ENV=test mix deps.compile
  - MIX_ENV=test mix compile
script:
  - MIX_ENV=test mix test
