From e57e2ac9f86cf5a5cf25145c188969134f1ea528 Mon Sep 17 00:00:00 2001 From: Albert Schimpf Date: Tue, 2 Jun 2020 14:13:24 +0200 Subject: [PATCH] Adjusted pipeline --- .travis.yml | 1 + Makefile | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fe49fe924..d83577efb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ install: - make - ./rebar3 update script: + - make format - make test - make coverage - ./rebar3 as test coveralls send diff --git a/Makefile b/Makefile index 8a0994fd6..89bed324e 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PULSE_TESTS = worker_pool_pulse REBAR ?= ./rebar3 -.PHONY: deps test docs xref dialyzer +.PHONY: deps test docs xref dialyzer format all: compile @@ -33,6 +33,9 @@ pulse: ${REBAR} compile -D PULSE ${REBAR} eunit -D PULSE skip_deps=true suite=$(PULSE_TESTS) +format: + ${REBAR} format + test: compile ${REBAR} eunit