forked from danielberkompas/ecto_validation_case
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
20 lines (20 loc) · 717 Bytes
/
.travis.yml
File metadata and controls
20 lines (20 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: elixir
elixir:
- 1.0.4
otp_release:
- 17.4
before_script:
- export PATH=`pwd`/elixir/bin:$PATH
- export TWILIO_TEST_ACCOUNT_SID=account_sid
- export TWILIO_TEST_AUTH_TOKEN=auth_token
- export PLT_FILENAME=elixir-${TRAVIS_ELIXIR_VERSION}_$TRAVIS_OTP_RELEASE.plt
- export PLT_LOCATION=/home/travis/$PLT_FILENAME
- wget -O $PLT_LOCATION https://raw.github.com/danielberkompas/travis_elixir_plts/master/$PLT_FILENAME
- mix local.hex --force
- mix deps.get --only test
script:
- mix test
- dialyzer --no_check_plt --plt $PLT_LOCATION -Wno_match -Wno_return --no_native _build/test/lib/ecto_validation_case/ebin
after_script:
- MIX_ENV=docs mix deps.get
- MIX_ENV=docs mix inch.report