language: elixir
cache:
  directories:
    - $HOME/.mix
elixir:
  - 1.3.3
otp_release:
  - 19.0
before_script:
  - export MIX_HOME=$HOME/.mix
  - export TWILIO_TEST_ACCOUNT_SID=account_sid		
  - export TWILIO_TEST_AUTH_TOKEN=auth_token		
  - export TWILIO_TEST_WORKSPACE_SID=workspace_sid
  - mix local.hex --force
  - mix deps.get --only test
script:
  - mix credo --strict
  - mix test
  - mix dialyze --no-return # TODO: remove --no-return flag after https://github.com/bryanjos/joken/pull/161 is merged
after_script:
  - MIX_ENV=docs mix deps.get
  - MIX_ENV=docs mix inch.report

language: elixir
cache:
  directories:
    - $HOME/.mix
elixir:
  - 1.4.0
otp_release:
  - 19.2
before_script:
  - export MIX_HOME=$HOME/.mix
  - export TWILIO_TEST_ACCOUNT_SID=account_sid		
  - export TWILIO_TEST_AUTH_TOKEN=auth_token		
  - export TWILIO_TEST_WORKSPACE_SID=workspace_sid
  - mix local.hex --force
  - mix deps.get --only test
script:
  - mix credo --strict
  - mix test
  - mix dialyze --no-return # TODO: remove --no-return flag after https://github.com/bryanjos/joken/pull/161 is merged
after_script:
  - MIX_ENV=docs mix deps.get
  - MIX_ENV=docs mix inch.report

Build on Elixir 1.4.0 on Erlang 19.2
Build on Elixir 1.4.0 on Erlang 19.2
