language: elixir
elixir:
  - 1.5.3
  - 1.6.4
otp_release:
  - 19.2
  - 20.2
script:
  - mix test
  - if [[ "$TRAVIS_ELIXIR_VERSION" =~ "1.6.[[:digit:]]" ]]; then mix format --check-formatted; fi

language: elixir
elixir:
  - 1.6.6
  - 1.7.3
otp_release:
  - 20.2
  - 21.0
script:
  - mix test
  - if [[ "$TRAVIS_ELIXIR_VERSION" =~ "1.6.[[:digit:]]" ]]; then mix format --check-formatted; fi

Build with Elixir 1.6 & 1.7 on Travis
Build with Elixir 1.6 & 1.7 on Travis
