This repository was archived by the owner on Oct 20, 2021. It is now read-only.
File tree 5 files changed +167
-4199
lines changed
5 files changed +167
-4199
lines changed Original file line number Diff line number Diff line change @@ -2,25 +2,24 @@ sudo: false
2
2
3
3
language : node_js
4
4
5
- cache :
6
- yarn : true
7
- directories :
8
- - node_modules
9
-
10
5
notifications :
11
6
email : false
12
7
8
+ env :
9
+ global :
10
+ - CC_TEST_REPORTER_ID=117e949a384eb983682b80e9675d929fb8799dc2d1877d811614fdb1d06e35e7
11
+
13
12
node_js :
14
13
- 9
15
14
- 8
16
15
17
- before_install :
18
- - npm i -g npm
19
- - npm i -g yarn
20
- - yarn
16
+ install :
17
+ - travis_retry yarn install
21
18
22
19
before_script :
23
- - npm prune
20
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
21
+ - chmod +x ./cc-test-reporter
22
+ - ./cc-test-reporter before-build
24
23
25
24
script :
26
25
- node --version
@@ -30,7 +29,13 @@ script:
30
29
31
30
after_success :
32
31
- npm run report-coverage
33
- - npm run travis-deploy-once "npm run semantic-release"
32
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
33
+
34
+ deploy :
35
+ provider : script
36
+ skip_cleanup : true
37
+ script :
38
+ - npm install -g travis-deploy-once semantic-release && travis-deploy-once "semantic-release"
34
39
35
40
branches :
36
41
except :
Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ build: false
2
2
3
3
clone_depth : 1
4
4
5
- cache :
6
- - node_modules
7
- - ' %LOCALAPPDATA%/Yarn'
8
-
9
5
environment :
10
6
matrix :
11
7
- nodejs_version : 9
@@ -16,12 +12,7 @@ matrix:
16
12
17
13
install :
18
14
- ps : Install-Product node $env:nodejs_version
19
- - npm i -g npm
20
- - npm i -g yarn
21
- - yarn
22
-
23
- before_test :
24
- - npm prune
15
+ - yarn install
25
16
26
17
test_script :
27
18
- node --version
You can’t perform that action at this time.
0 commit comments