language: elixir

matrix:
    include:
        - elixir: 1.6
          otp_release: 20.2
        - elixir: 1.4
          otp_release: 18.2.1

script:
    - mix test
    - mix docs
    - if [[ $TRAVIS_ELIXIR_VERSION = "1.6" ]]; then mix format --check-formatted; fi

language: elixir

matrix:
    include:
        - elixir: 1.7
          otp_release: 21.0
        - elixir: 1.6
          otp_release: 21.0
        - elixir: 1.4
          otp_release: 18.2.1

script:
    - mix test
    - mix docs
    - if [[ $TRAVIS_ELIXIR_VERSION = "1.6" ]]; then mix format --check-formatted; fi

Update Travis to Elixir 1.7 and OTP 21
Update Travis to Elixir 1.7 and OTP 21
