Skip to content

Commit

Permalink
Add dialyzer check to travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakoth committed Jul 7, 2017
1 parent c9cfdfe commit aad9caf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Expand Up @@ -8,6 +8,14 @@ matrix:
sudo: false
notifications:
email: false
before_script:
# Set download location
- export PLT_FILENAME=elixir-${TRAVIS_ELIXIR_VERSION}_${TRAVIS_OTP_RELEASE}.plt
- export PLT_LOCATION=/home/travis/$PLT_FILENAME
# Download PLT from danielberkompas/travis_elixir_plts on Github
# Store in $PLT_LOCATION
- wget -O $PLT_LOCATION https://raw.github.com/danielberkompas/travis_elixir_plts/master/$PLT_FILENAME
script:
- mix test
- mix credo --strict
- dialyzer --no_check_plt --plt $PLT_LOCATION --no_native _build/test/lib/slime/ebin

0 comments on commit aad9caf

Please sign in to comment.