From 40d5db2418785ca42157e2a892a633bf9e0d0c2a Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Thu, 21 Jun 2018 19:43:43 +0300 Subject: [PATCH] mdbx-ci: migrate to Circle-CI 2.0 Change-Id: Id86af9e033d64a4dc2043db33cd8e7ae173feb22 --- .circleci/config.yml | 20 ++++++++++++++++++++ circle.yml | 14 -------------- 2 files changed, 20 insertions(+), 14 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 circle.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..91e11a4b --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,20 @@ +version: 2 +jobs: + build: + docker: + - image: circleci/buildpack-deps:artful + environment: + - TESTDB: /tmp/test.db + - TESTLOG: /tmp/test.log + steps: + - checkout + - run: make all + - run: ulimit -c unlimited && make check + - run: + command: | + mkdir -p /tmp/artifacts + mv -t /tmp/artifacts $TESTLOG $TESTDB core.* + when: on_fail + - store_artifacts: + path: /tmp/artifacts + destination: test-artifacts diff --git a/circle.yml b/circle.yml deleted file mode 100644 index 77da30e9..00000000 --- a/circle.yml +++ /dev/null @@ -1,14 +0,0 @@ -machine: - timezone: - Europe/Moscow - -database: - override: - -compile: - override: - - make all - -test: - override: - - make check || mv test.log ${CIRCLE_ARTIFACTS}/