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:
Alexander Bezzubov 2018-10-24 08:26:08 +02:00
parent 4d314e7877
commit a5e3d7d645
No known key found for this signature in database
GPG Key ID: 8039F5787EFCD05D

View File

@ -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