Skip to content

Commit a072e2a

Browse files
devversionmprobst
authored andcommitted
build: switch to circleci
1 parent 245ffa6 commit a072e2a

File tree

5 files changed

+120
-6
lines changed

5 files changed

+120
-6
lines changed

.circleci/config.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Cache key for CircleCI. We want to invalidate the cache whenever the Yarn lock file changes.
2+
var_1: &cache_key angular-clang-format-{{ checksum "yarn.lock" }}
3+
var_2: &default_docker_image circleci/node:10.12
4+
5+
# Settings common to each job
6+
var_3: &job_defaults
7+
working_directory: ~/clang-format
8+
docker:
9+
- image: *default_docker_image
10+
11+
var_4: &save_cache
12+
save_cache:
13+
key: *cache_key
14+
paths:
15+
- "node_modules/"
16+
17+
jobs:
18+
build:
19+
<<: *job_defaults
20+
steps:
21+
- checkout
22+
- restore_cache:
23+
key: *cache_key
24+
- run: yarn install --frozen-lockfile --non-interactive
25+
- run: yarn test
26+
- *save_cache

.travis.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/angular/clang-format.svg?branch=master)](https://travis-ci.org/angular/clang-format)
1+
[![Build Status](https://circleci.com/gh/angular/clang-format.svg?style=svg)](https://circleci.com/gh/angular/clang-format)
22

33
# clang-format
44
node.js module which wraps the native clang-format executable.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"check-clang-format": "bin/check-clang-format.js"
1414
},
1515
"scripts": {
16-
"test": "./test.sh"
16+
"test": "bash ./test.sh"
1717
},
1818
"contributors": [
1919
"Alex Eagle <alexeagle@google.com>",

yarn.lock

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+
5+
async@^1.5.2:
6+
version "1.5.2"
7+
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
8+
integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=
9+
10+
balanced-match@^1.0.0:
11+
version "1.0.0"
12+
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
13+
integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
14+
15+
brace-expansion@^1.1.7:
16+
version "1.1.11"
17+
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
18+
integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
19+
dependencies:
20+
balanced-match "^1.0.0"
21+
concat-map "0.0.1"
22+
23+
concat-map@0.0.1:
24+
version "0.0.1"
25+
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
26+
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
27+
28+
fs.realpath@^1.0.0:
29+
version "1.0.0"
30+
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
31+
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
32+
33+
glob@^7.0.0:
34+
version "7.1.3"
35+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1"
36+
integrity sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==
37+
dependencies:
38+
fs.realpath "^1.0.0"
39+
inflight "^1.0.4"
40+
inherits "2"
41+
minimatch "^3.0.4"
42+
once "^1.3.0"
43+
path-is-absolute "^1.0.0"
44+
45+
inflight@^1.0.4:
46+
version "1.0.6"
47+
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
48+
integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=
49+
dependencies:
50+
once "^1.3.0"
51+
wrappy "1"
52+
53+
inherits@2:
54+
version "2.0.3"
55+
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
56+
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
57+
58+
minimatch@^3.0.4:
59+
version "3.0.4"
60+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
61+
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
62+
dependencies:
63+
brace-expansion "^1.1.7"
64+
65+
once@^1.3.0:
66+
version "1.4.0"
67+
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
68+
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
69+
dependencies:
70+
wrappy "1"
71+
72+
path-is-absolute@^1.0.0:
73+
version "1.0.1"
74+
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
75+
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
76+
77+
path-parse@^1.0.6:
78+
version "1.0.6"
79+
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
80+
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
81+
82+
resolve@^1.1.6:
83+
version "1.9.0"
84+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.9.0.tgz#a14c6fdfa8f92a7df1d996cb7105fa744658ea06"
85+
integrity sha512-TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ==
86+
dependencies:
87+
path-parse "^1.0.6"
88+
89+
wrappy@1:
90+
version "1.0.2"
91+
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
92+
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=

0 commit comments

Comments
 (0)