Update Travis CI config

master
Milton Mazzarri 2019-03-19 12:19:35 -05:00
parent db3a0855e1
commit 611fbc4ebf
No known key found for this signature in database
GPG Key ID: 9F4193F2B5A558FE
1 changed files with 22 additions and 5 deletions

View File

@ -1,15 +1,32 @@
language: elixir
elixir: 1.6.1
otp_release: 20.3
sudo: false
elixir:
- 1.6
- 1.8
otp_release:
- 20.3
- 21.1
notifications:
recipients:
- milmazz@gmail.com
env:
- MIX_ENV=test
script:
- mix format --check-formatted
- mix test
cache:
directories:
- deps
- _build
- ~/.mix
- ~/.hex
jobs:
include:
- stage: format
env:
- MIX_ENV=dev
script: mix format --check-formatted
elixir: 1.6
- stage: types
env:
- MIX_ENV=dev
before_script: travis_wait 20 mix dialyzer --plt
script: mix dialyzer --halt-exit-status
elixir: 1.6