diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6368da5 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,21 @@ +version: 2 + +jobs: + build: + docker: + # Primary container + - image: thomasweise/texlive + steps: + - checkout + - run: + name: Compile + command: make + - run: + name: Move artifacts + command: | + mkdir -p ~/results + mv examples/cv.pdf ~/results + mv examples/resume.pdf ~/results + mv examples/coverletter.pdf ~/results + - store_artifacts: + path: ~/results diff --git a/circle.yml b/circle.yml deleted file mode 100644 index 35c83a9..0000000 --- a/circle.yml +++ /dev/null @@ -1,14 +0,0 @@ -## Customize the test machine -machine: - timezone: - Asia/Seoul - - services: - - docker - -## Customize compile commands -test: - override: - - docker run --rm -w "/doc" -v "$PWD":/doc thomasweise/texlive make - post: - - mv examples/*.pdf $CIRCLE_ARTIFACTS/ \ No newline at end of file