forked from RoboJackets/rrt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
41 lines (37 loc) · 1.51 KB
/
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
36
37
38
39
40
41
machine:
services:
- docker
environment:
# In order to allow circleci to push ci statuses to GitHub for pull requests
# from external forks, we have to store an access token. GitHub invalidates
# API tokens pushed to repositories for security reasons, so we split it in
# half as a workaround. This is only very minor security risk b/c this
# token only allows access to change commit statuses.
GITHUB_HAS_GREAT_SECURITY: ba71cd719dd509a0ea
GH_STATUS_TOKEN: ${GITHUB_HAS_GREAT_SECURITY}76a8e073ede1df83fbf980
GIT_EMAIL: [email protected]
GIT_USERNAME: georgeburdell
checkout:
post:
# This is a hack, but it's the only thing that works at the moment :/
- git submodule sync && git submodule update --init || true && git submodule sync && git submodule update --init
dependencies:
pre:
# Fix config file containing direct refrences in ~/.ssh
- sed -i 's:/home/ubuntu:~:' ~/.ssh/config
# set build status to pending on start
- ./third_party/DoCIF/util/maketest.sh --pending
- ./third_party/DoCIF/commands/buildbaseimage.sh
# Actually the test step, but we want to cache it so it can go here.
- ./third_party/DoCIF/commands/runtests.sh
cache_directories:
- ~/.ccache # 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:
- ./third_party/DoCIF/commands/exit.sh
experimental:
notify:
branches:
only:
- master