forked from ahamez/protox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 1.16 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: elixir
matrix:
include:
- elixir: 1.7
otp_release: 22.0
- elixir: 1.8
otp_release: 22.0
- elixir: 1.9
otp_release: 22.0
- elixir: 1.10
otp_release: 22.0
- elixir: 1.10
otp_release: 23.0
script:
- mix format --check-formatted
- mix dialyzer
- mix credo
- mix coveralls.travis --include conformance
- MIX_ENV=prod mix compile --warnings-as-errors
before_script:
- wget https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip
- unzip -d protoc protoc-3.13.0-linux-x86_64.zip
- export PATH=$PWD/protoc/bin/:$PATH
- wget https://github.com/ahamez/protox/releases/download/0.25.0/conformance-linux-x86_64.zip
- unzip conformance-linux-x86_64.zip
env:
- MIX_ENV=test PROTOBUF_CONFORMANCE_RUNNER=./conformance/conformance-test-runner LD_LIBRARY_PATH=./conformance/.libs
script:
- mix dialyzer
- mix credo
- mix coveralls.travis --include conformance
after_script:
- MIX_ENV=docs mix deps.get
- MIX_ENV=docs mix inch.report
notifications:
email:
cache:
directories:
- priv/plts