Update Travis CI config
parent
db3a0855e1
commit
611fbc4ebf
27
.travis.yml
27
.travis.yml
|
@ -1,15 +1,32 @@
|
||||||
language: elixir
|
language: elixir
|
||||||
elixir: 1.6.1
|
|
||||||
otp_release: 20.3
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
elixir:
|
||||||
|
- 1.6
|
||||||
|
- 1.8
|
||||||
|
otp_release:
|
||||||
|
- 20.3
|
||||||
|
- 21.1
|
||||||
notifications:
|
notifications:
|
||||||
recipients:
|
recipients:
|
||||||
- milmazz@gmail.com
|
- milmazz@gmail.com
|
||||||
env:
|
env:
|
||||||
- MIX_ENV=test
|
- MIX_ENV=test
|
||||||
script:
|
|
||||||
- mix format --check-formatted
|
|
||||||
- mix test
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- deps
|
- 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
|
||||||
|
|
Loading…
Reference in New Issue