-
Notifications
You must be signed in to change notification settings - Fork 3
/
circle.yml
32 lines (28 loc) · 924 Bytes
/
circle.yml
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
28
29
30
31
32
machine:
services:
- docker
checkout:
post:
# Make sure that submodules are really, truly up to date
- git submodule sync && - git submodule update --init || true && git submodule sync && git submodule update --init
dependencies:
pre:
# Set build status to pending on start
- ./DoCIF/util/maketest.sh --pending
- ./DoCIF/commands/buildbaseimage.sh
# Actually the test step
- ./DoCIF/commands/runtests.sh
cache_directories:
# This shouldn't actually cache anything because config.docif says not to
- ~/.ccache # See $CACHE_DIRECTORIES in config.docif
# The test phase dosen't actually run tests. We need the caching from the deploy step.
test:
override:
# Display errors from testing step
- ./DoCIF/commands/exit.sh
deployment:
github:
branch: master
commands:
# This will run DEPLOY_COMMAND as well
- ./DoCIF/commands/deploy.sh