forked from FaridSafi/react-native-gifted-chat
-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
35 lines (32 loc) · 811 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
34
35
---
machine:
environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
node:
version: 8.2.0
dependencies:
override:
- yarn global add codecov
- yarn install --no-progress --no-emoji --ignore-engines
cache_directories:
- "node_modules"
- ~/.yarn
- ~/.cache/yarn
test:
override:
- yarn run lint
- yarn run test:coverage
- codecov
# TODO: deployment:
# release:
# tag: /v[0-9]+(\.[0-9]+)*/
# commands:
# - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
# - yarn publish --new-version `./scripts/version.js`
#deployment:
# appr:
# branch: /.*/
# commands:
# - 'export BRANCH="$CIRCLE_PROJECT_REPONAME/$CIRCLE_PROJECT_USERNAME#$CIRCLE_BRANCH"'
# - 'echo $BRANCH'
# - yarn appr