language: elixir
elixir:
  - 1.0.4
otp_release:
  - 17.5
before_script:
  - export PATH=`pwd`/elixir/bin:$PATH
  - export TWILIO_TEST_ACCOUNT_SID=account_sid
  - export TWILIO_TEST_AUTH_TOKEN=auth_token
  - export PLT_FILENAME=elixir-${TRAVIS_ELIXIR_VERSION}_$TRAVIS_OTP_RELEASE.plt
  - export PLT_LOCATION=/home/travis/$PLT_FILENAME
  - wget -O $PLT_LOCATION https://raw.github.com/danielberkompas/travis_elixir_plts/master/$PLT_FILENAME
  - mix local.hex --force
  - mix deps.get --only test
script:
  - mix test
  - dialyzer --no_check_plt --plt $PLT_LOCATION -Wno_match -Wno_return --no_native _build/test/lib/ex_twilio/ebin
after_script:
  - MIX_ENV=docs mix deps.get
  - MIX_ENV=docs mix inch.report

language: elixir
elixir:
  - 1.0.4
otp_release:
  - 17.4
before_script:
  - export PATH=`pwd`/elixir/bin:$PATH
  - export TWILIO_TEST_ACCOUNT_SID=account_sid
  - export TWILIO_TEST_AUTH_TOKEN=auth_token
  - export PLT_FILENAME=elixir-${TRAVIS_ELIXIR_VERSION}_$TRAVIS_OTP_RELEASE.plt
  - export PLT_LOCATION=/home/travis/$PLT_FILENAME
  - wget -O $PLT_LOCATION https://raw.github.com/danielberkompas/travis_elixir_plts/master/$PLT_FILENAME
  - mix local.hex --force
  - mix deps.get --only test
script:
  - mix test
  - dialyzer --no_check_plt --plt $PLT_LOCATION -Wno_match -Wno_return --no_native _build/test/lib/ex_twilio/ebin
after_script:
  - MIX_ENV=docs mix deps.get
  - MIX_ENV=docs mix inch.report

Downgrade Travis to OTP 17.4
Downgrade Travis to OTP 17.4
