Skip to content

Commit 746b3e5

Browse files
committed
improve ci configuration
1 parent 2aa0087 commit 746b3e5

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

build/ci.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
set -e
2-
if [ -z "$CI_PULL_REQUEST" ]
3-
then
2+
if [ -z "$CI_PULL_REQUEST" ] || [ "$CIRCLE_BRANCH" == "master" ]; then
43
npm run lint
54
npm run cover
65
cat ./coverage/lcov.info | ./node_modules/.bin/codecov

circle.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ machine:
22
node:
33
version: 5
44

5-
general:
6-
branches:
7-
only: master
8-
95
test:
106
override:
117
- bash ./build/ci.sh

0 commit comments

Comments
 (0)