forked from 18F/api.data.gov
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
27 lines (27 loc) · 767 Bytes
/
circle.yml
File metadata and controls
27 lines (27 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
general:
branches:
ignore:
- gh-pages
machine:
ruby:
version: 2.3.1
checkout:
post:
- git submodule update --init --recursive
compile:
override:
# Don't perform a normal "middleman build" that Circle infers. We'll run
# our own rake tasks.
- /bin/true
test:
override:
# Only run the build task for branches. Master will both build and deploy
# as part of the publish deployment task below (no need to build twice for
# master).
- if [[ "$CIRCLE_BRANCH" -ne "master" ]]; then bundle exec rake test; fi
deployment:
production:
branch: master
commands:
- git config --global user.email "no-reply@circleci.com" && git config --global user.name "Circle CI Build Bot"
- bundle exec rake publish