Skip to content

Commit 8282f4b

Browse files
authored
Merge pull request #10 from angular-redux/es-chore-setup-circle-ci
add circle config
2 parents b9e7cfc + 9f5c24b commit 8282f4b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

circle.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
machine:
2+
node:
3+
version: 6.9.2
4+
environment:
5+
YARN_VERSION: 0.19.1
6+
PATH: "${PATH}:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
7+
8+
dependencies:
9+
pre:
10+
- |
11+
if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
12+
echo "Download and install Yarn."
13+
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION
14+
else
15+
echo "The correct version of Yarn is already installed."
16+
fi
17+
override:
18+
- yarn install
19+
cache_directories:
20+
- ~/.yarn
21+
- ~/.cache/yarn
22+
23+
test:
24+
override:
25+
- yarn test
26+
27+
general:
28+
artifacts:
29+
- "./coverage"

0 commit comments

Comments
 (0)