mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-05-23 16:40:08 -03:00
ci: move to modeern src-d/ci v1
Otherwise, \w current version 'make pakcages' returns 0 even if the build fails e.g. https://travis-ci.org/src-d/enry/jobs/445378508 Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
parent
4d314e7877
commit
a5e3d7d645
10
Makefile
10
Makefile
@ -3,12 +3,12 @@ PROJECT = enry
|
|||||||
COMMANDS = cmd/enry
|
COMMANDS = cmd/enry
|
||||||
|
|
||||||
# Including ci Makefile
|
# Including ci Makefile
|
||||||
MAKEFILE = Makefile.main
|
CI_REPOSITORY ?= https://github.com/src-d/ci.git
|
||||||
CI_REPOSITORY = https://github.com/src-d/ci.git
|
CI_BRANCH ?= v1
|
||||||
CI_FOLDER = .ci
|
CI_PATH ?= .ci
|
||||||
|
MAKEFILE := $(CI_PATH)/Makefile.main
|
||||||
$(MAKEFILE):
|
$(MAKEFILE):
|
||||||
@git clone --quiet $(CI_REPOSITORY) $(CI_FOLDER); \
|
git clone --quiet --depth 1 -b $(CI_BRANCH) $(CI_REPOSITORY) $(CI_PATH);
|
||||||
cp $(CI_FOLDER)/$(MAKEFILE) .;
|
|
||||||
-include $(MAKEFILE)
|
-include $(MAKEFILE)
|
||||||
|
|
||||||
# Docsrv: configure the languages whose api-doc can be auto generated
|
# Docsrv: configure the languages whose api-doc can be auto generated
|
||||||
|
Loading…
x
Reference in New Issue
Block a user