Migrate circle-ci v1 to v2

This commit is contained in:
Posquit0.BJ 2018-10-09 18:36:00 +09:00
parent 872069ac38
commit 131671c602
2 changed files with 21 additions and 14 deletions

21
.circleci/config.yml Normal file
View file

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

View file

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