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
|
||||
|
||||
# Including ci Makefile
|
||||
MAKEFILE = Makefile.main
|
||||
CI_REPOSITORY = https://github.com/src-d/ci.git
|
||||
CI_FOLDER = .ci
|
||||
CI_REPOSITORY ?= https://github.com/src-d/ci.git
|
||||
CI_BRANCH ?= v1
|
||||
CI_PATH ?= .ci
|
||||
MAKEFILE := $(CI_PATH)/Makefile.main
|
||||
$(MAKEFILE):
|
||||
@git clone --quiet $(CI_REPOSITORY) $(CI_FOLDER); \
|
||||
cp $(CI_FOLDER)/$(MAKEFILE) .;
|
||||
git clone --quiet --depth 1 -b $(CI_BRANCH) $(CI_REPOSITORY) $(CI_PATH);
|
||||
-include $(MAKEFILE)
|
||||
|
||||
# Docsrv: configure the languages whose api-doc can be auto generated
|
||||
|
Loading…
Reference in New Issue
Block a user