language: elixir
elixir:
  - 1.3.4
  - 1.4.0
otp_release:
  - 18.3
  - 19.2
script:
  - "MIX_ENV=test mix do deps.get, test && mix credo && mix coveralls.travis"
after_script:
  - mix deps.get --only docs
  - MIX_ENV=docs mix inch.report

language: elixir

matrix:
  include:
    - otp_release: 18.3
      elixir: 1.3.4
    - otp_release: 18.3
      elixir: 1.4.0
    - otp_release: 18.3
      elixir: 1.5.1
    - otp_release: 19.2
      elixir: 1.3.4
    - otp_release: 19.2
      elixir: 1.4.0
    - otp_release: 19.2
      elixir: 1.5.1
    - otp_release: 20.0
      elixir: 1.5.1

script:
  - "MIX_ENV=test mix do deps.get, test && mix credo && mix coveralls.travis"
after_script:
  - mix deps.get --only docs
  - MIX_ENV=docs mix inch.report

Test against OTP-20 and Elixir 1.5.1
Test against OTP-20 and Elixir 1.5.1

Adds additional versions to the test run. Only Elixir 1.5.1 will run against OTP-20
