Skip to content

Commit 5b0e4ac

Browse files
chore: add travis ci
1 parent 3249688 commit 5b0e4ac

File tree

4 files changed

+31
-1
lines changed

4 files changed

+31
-1
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
sudo: false
2+
language: node_js
3+
node_js:
4+
- 14
5+
script:
6+
- yarn eslint 'src/**'
7+
- yarn test:coveralls

globalConfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"mongoUri":"mongodb://127.0.0.1:44717/d58b9fc9-c60e-443a-a862-a4defca5d32e?"}
1+
{"mongoUri":"mongodb://127.0.0.1:43245/8355ac47-072a-4e6f-b0a3-05481e6f525a?"}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"test:unit": "npm test -- --watch -c jest-unit.config.js",
1616
"test:integration": "npm test -- --watch -c jest-integration.config.js",
1717
"test:staged": "yarn test -- --findRelatedTests",
18+
"test:coveralls": "jest --coverage && coveralls < coverage/lcov.info",
1819
"check": "npm-check -s -u"
1920
},
2021
"dependencies": {
@@ -35,6 +36,7 @@
3536
"@types/node": "^15.0.2",
3637
"@typescript-eslint/eslint-plugin": "^4.23.0",
3738
"@typescript-eslint/parser": "^4.23.0",
39+
"coveralls": "^3.1.0",
3840
"eslint": "^7.26.0",
3941
"eslint-config-airbnb-base": "^14.2.1",
4042
"eslint-config-prettier": "^8.3.0",

yarn.lock

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,6 +1685,17 @@ cosmiconfig@^7.0.0:
16851685
path-type "^4.0.0"
16861686
yaml "^1.10.0"
16871687

1688+
coveralls@^3.1.0:
1689+
version "3.1.0"
1690+
resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.1.0.tgz#13c754d5e7a2dd8b44fe5269e21ca394fb4d615b"
1691+
integrity sha512-sHxOu2ELzW8/NC1UP5XVLbZDzO4S3VxfFye3XYCznopHy02YjNkHcj5bKaVw2O7hVaBdBjEdQGpie4II1mWhuQ==
1692+
dependencies:
1693+
js-yaml "^3.13.1"
1694+
lcov-parse "^1.0.0"
1695+
log-driver "^1.2.7"
1696+
minimist "^1.2.5"
1697+
request "^2.88.2"
1698+
16881699
create-require@^1.1.0:
16891700
version "1.1.1"
16901701
resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
@@ -3936,6 +3947,11 @@ latest-version@^5.0.0:
39363947
dependencies:
39373948
package-json "^6.3.0"
39383949

3950+
lcov-parse@^1.0.0:
3951+
version "1.0.0"
3952+
resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-1.0.0.tgz#eb0d46b54111ebc561acb4c408ef9363bdc8f7e0"
3953+
integrity sha1-6w1GtUER68VhrLTECO+TY73I9+A=
3954+
39393955
leven@^3.1.0:
39403956
version "3.1.0"
39413957
resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2"
@@ -4071,6 +4087,11 @@ lodash@4.x, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.7.0:
40714087
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
40724088
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
40734089

4090+
log-driver@^1.2.7:
4091+
version "1.2.7"
4092+
resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8"
4093+
integrity sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==
4094+
40744095
log-symbols@^4.0.0:
40754096
version "4.1.0"
40764097
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503"

0 commit comments

Comments
 (0)