-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
35 lines (30 loc) · 907 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
33
34
35
machine:
services:
- docker
environment:
GITHUB_HAS_GREAT_SECURITY: 40d9a9df97301db90dd
GH_STATUS: ${GITHUB_HAS_GREAT_SECURITY}ff3beeec41d8b6cb39b46
GH_EMAIL: [email protected]
GH_USER: jaysdocbot
GH_NAME: DocBot
checkout:
post:
- git submodule update --init
dependencies:
override:
# set build status to pending on start
- ./DoCIF/util/maketest.sh --pending
- ./DoCIF/commands/buildbaseimage.sh
# Actually the test step, but we want to cache it so it can go here.
- ./DoCIF/commands/runtests.sh
cache_directories:
- ./build # See $CACHE_DIRECTORIES in sample_config.docif
# The test phase dosen't actually run tests. We need the caching from the deploy step.
test:
override:
- sh -c true
deployment:
github:
branch: master
commands:
- ./DoCIF/commands/deploy.sh # This will run DEPLOY_COMMAND as well