forked from linkerd/linkerd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
33 lines (29 loc) · 858 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
machine:
java:
version: oraclejdk8
node:
version: 6.1.0
services:
- docker
dependencies:
cache_directories:
- ~/.gitshas
- .sbt-launch.jar
- admin/src/main/resources/io/buoyant/admin/node_modules
override:
- ci/update.sh
- cd admin/src/main/resources/io/buoyant/admin && npm install
test:
pre:
- cd admin/src/main/resources/io/buoyant/admin && npm run eslint
override:
- ci/test.sh:
parallel: true
post:
- ci/coverage-publish.sh || true # We don't want to block the build on a failure to publish coverage results
- mkdir -p "$CIRCLE_TEST_REPORTS/junit" && find . -type f -regex ".*/target/test-reports/.*xml" -exec cp {} "$CIRCLE_TEST_REPORTS/junit/" \;
deployment:
nightly:
branch: master
commands:
- if [ "$NIGHTLY" = "1" ]; then ci/docker-publish.sh nightly ; fi