forked from RoboJackets/robocup-software
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
35 lines (31 loc) · 1.12 KB
/
circle.yml
File metadata and controls
35 lines (31 loc) · 1.12 KB
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
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: georgeburdell@users.noreply.github.com
GIT_USERNAME: georgeburdell
dependencies:
pre:
# set build status to pending on start
- ./util/docker/maketest.sh --pending ${GH_STATUS_TOKEN}
- ./util/docker/baseimage/buildbaseimage.sh
# Actually the test step, but we want to cache it so it can go here.
- ./util/docker/circle/buildcircle.sh
cache_directories:
- ~/.ccache
test:
override:
- sh -c true
deployment:
github:
branch: master
commands:
- ./util/docker/circle/apidocs.sh
- ./util/docker/baseimage/pushbaseimage.sh