-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcircle.yml
More file actions
31 lines (29 loc) · 948 Bytes
/
circle.yml
File metadata and controls
31 lines (29 loc) · 948 Bytes
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
machine:
environment:
OTP_VSN: 19.3
PATH: ${HOME}/extras/bin:${HOME}/extras/otp/${OTP_VSN}/bin:${PATH}
dependencies:
cache_directories:
- ~/extras
- _build/default/lib
pre:
- wget https://raw.githubusercontent.com/spawngrid/kerl/master/kerl
- chmod a+x kerl
- if [ ! -d ~/extras/otp/${OTP_VSN} ]; then ./kerl build ${OTP_VSN} ${OTP_VSN}; ./kerl install ${OTP_VSN} ~/extras/otp/${OTP_VSN}; fi:
timeout: 1200
- wget https://s3.amazonaws.com/rebar3/rebar3
- chmod +x ./rebar3
- ./rebar3 compile
test:
override:
- ./rebar3 as ci do ct --cover
- ./rebar3 as ci cover
- ./rebar3 edoc
- ./rebar3 xref
- ./rebar3 as lint lint
- ./rebar3 dialyzer
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- mv _build/ci+test/logs/ct_run*/junit_report.xml $CIRCLE_TEST_REPORTS/junit/
- mv _build/ci+test/logs $CIRCLE_ARTIFACTS
- mv _build/ci+test/cover $CIRCLE_ARTIFACTS