postal/.circleci/config.yml

28 lines
557 B
YAML
Raw Normal View History

version: 2
jobs:
2018-05-27 02:03:02 +02:00
build:
machine: true
steps:
- checkout
- run:
2018-05-27 02:06:08 +02:00
name: Build Postal Docker Container
2018-05-27 02:10:07 +02:00
command: docker build -t postal:dev .
- run:
name: Skip this job for Pull Requests
command: '[[ -v CIRCLE_PR_NUMBER ]] && circleci step halt || true'
workflows:
version: 2
nightly:
triggers:
- schedule:
cron: "0 * * * *"
filters:
branches:
only:
- master
jobs:
- build
commit:
jobs:
- build