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}/