language: elixir
otp_release:
  - 18.3
  - 19.2
elixir:
  - 1.3.4
  - 1.4.2
# exclude the most recent versions of otp/elixir and
# re-include it with COVERALLS=true so that we get just one coveralls report
matrix:
  exclude:
    - elixir: 1.4.2
      otp_release: 19.2
      env: COVERALLS=false
  include:
    - elixir: 1.4.2
      otp_release: 19.2
      env: COVERALLS=true
env:
  - COVERALLS=false
script:
  - ./scripts/ci_build.sh

language: elixir

cache:
  directories:
    - deps
    - _build

matrix:
  include:
    - elixir: 1.3.4
      otp_release: 20.0
      env: COVERALLS=false
    - elixir: 1.4.5
      otp_release: 18.3
      env: COVERALLS=false
    - elixir: 1.4.5
      otp_release: 19.2
      env: COVERALLS=false
    - elixir: 1.5.1
      otp_release: 19.2
      env: COVERALLS=false
    - elixir: 1.5.1
      otp_release: 20.0
      env: COVERALLS=true

script:
  - ./scripts/ci_build.sh

Update build matrix, add build cache
Update build matrix, add build cache
