bluzi / name-db

:rocket: A multilingual collection of names from around the world
MIT License
58 stars 230 forks source link

Update package.json #592

Closed copolycube closed 3 years ago

copolycube commented 4 years ago

Updating the package.json to try to reactivate the travis integration on this repo.

TravisBuddy commented 4 years ago

Hey @copolycube, Something went wrong with the build.

TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.

View build log

TravisBuddy Request Identifier: 4597c5f0-f9db-11ea-8549-e58e00c6eb1f
TravisBuddy commented 4 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

npm test ``` > name-db@1.0.0 test /home/travis/build/bluzi/name-db > mocha name files 1) should contain valid JSON 2) should contain a lowercase name, same as the filename 3) should not have duplicate names 4) should have ISO-639-3 language codes 5) should have correct structure Translations 6) should be lowercase Sex 7) should be "m", "f" or "u" 8) should be lowercase 0 passing (94ms) 8 failing 1) name files should contain valid JSON: Error: Error in name file "madeleine.json": Invalid JSON file SyntaxError: Unexpected token ] in JSON at position 89 at Context.it (test/test.js:16:23) 2) name files should contain a lowercase name, same as the filename: SyntaxError: Unexpected token ] in JSON at position 89 at JSON.parse () at Context.it (test/test.js:24:31) 3) name files should not have duplicate names: SyntaxError: Unexpected token ] in JSON at position 89 at JSON.parse () at Context.it (test/test.js:35:31) 4) name files should have ISO-639-3 language codes: SyntaxError: Unexpected token ] in JSON at position 89 at JSON.parse () at Context.it (test/test.js:47:31) 5) name files should have correct structure: Error: Error in name file "christian.json": instance.translations additionalProperty "eng" exists in instance when not allowed at Context.it (test/test.js:106:23) 6) Translations should be lowercase: AssertionError [ERR_ASSERTION]: "Karl" translation in "carlos.json" is not lowercase + expected - actual -Karl +karl at Context.it (test/test.js:121:24) 7) Sex should be "m", "f" or "u": SyntaxError: Unexpected token ] in JSON at position 89 at JSON.parse () at Context.it (test/test.js:131:31) 8) Sex should be lowercase: SyntaxError: Unexpected token ] in JSON at position 89 at JSON.parse () at Context.it (test/test.js:145:31) npm ERR! Test failed. See above for more details. ```


copolycube commented 3 years ago

That's actually a good news : the run worked and detected some actual errors. Will try to fix them later !

TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

npm test ``` > name-db@1.0.0 test /home/travis/build/bluzi/name-db > mocha name files 1) should contain valid JSON 2) should contain a lowercase name, same as the filename 3) should not have duplicate names 4) should have ISO-639-3 language codes 5) should have correct structure Translations 6) should be lowercase Sex 7) should be "m", "f" or "u" 8) should be lowercase 0 passing (72ms) 8 failing 1) name files should contain valid JSON: Error: Error in name file "madeleine.json": Invalid JSON file SyntaxError: Unexpected token ] in JSON at position 89 at Context.it (test/test.js:16:23) 2) name files should contain a lowercase name, same as the filename: SyntaxError: Unexpected token ] in JSON at position 89 at JSON.parse () at Context.it (test/test.js:24:31) 3) name files should not have duplicate names: SyntaxError: Unexpected token ] in JSON at position 89 at JSON.parse () at Context.it (test/test.js:35:31) 4) name files should have ISO-639-3 language codes: Error: fre is not a valid ISO-639-3 language code in "corentine.json" at Context.it (test/test.js:53:27) 5) name files should have correct structure: Error: Error in name file "christian.json": instance.translations additionalProperty "eng" exists in instance when not allowed at Context.it (test/test.js:106:23) 6) Translations should be lowercase: AssertionError [ERR_ASSERTION]: "Karl" translation in "carlos.json" is not lowercase + expected - actual -Karl +karl at Context.it (test/test.js:121:24) 7) Sex should be "m", "f" or "u": SyntaxError: Unexpected token ] in JSON at position 89 at JSON.parse () at Context.it (test/test.js:131:31) 8) Sex should be lowercase: SyntaxError: Unexpected token ] in JSON at position 89 at JSON.parse () at Context.it (test/test.js:145:31) npm ERR! Test failed. See above for more details. ```


TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

npm test ``` > name-db@1.0.0 test /home/travis/build/bluzi/name-db > mocha name files 1) should contain valid JSON 2) should contain a lowercase name, same as the filename 3) should not have duplicate names 4) should have ISO-639-3 language codes 5) should have correct structure Translations 6) should be lowercase Sex 7) should be "m", "f" or "u" 8) should be lowercase 0 passing (67ms) 8 failing 1) name files should contain valid JSON: Error: Error in name file "madeleine.json": Invalid JSON file SyntaxError: Unexpected token ] in JSON at position 89 at Context.it (test/test.js:16:23) 2) name files should contain a lowercase name, same as the filename: SyntaxError: Unexpected token ] in JSON at position 89 at JSON.parse () at Context.it (test/test.js:24:31) 3) name files should not have duplicate names: SyntaxError: Unexpected token ] in JSON at position 89 at JSON.parse () at Context.it (test/test.js:35:31) 4) name files should have ISO-639-3 language codes: Error: fre is not a valid ISO-639-3 language code in "corentine.json" at Context.it (test/test.js:53:27) 5) name files should have correct structure: Error: Error in name file "christian.json": instance.translations additionalProperty "eng" exists in instance when not allowed at Context.it (test/test.js:106:23) 6) Translations should be lowercase: AssertionError [ERR_ASSERTION]: "Jerzy" translation in "george.json" is not lowercase + expected - actual -Jerzy +jerzy at Context.it (test/test.js:121:24) 7) Sex should be "m", "f" or "u": SyntaxError: Unexpected token ] in JSON at position 89 at JSON.parse () at Context.it (test/test.js:131:31) 8) Sex should be lowercase: SyntaxError: Unexpected token ] in JSON at position 89 at JSON.parse () at Context.it (test/test.js:145:31) npm ERR! Test failed. See above for more details. ```


TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

npm test ``` > name-db@1.0.0 test /home/travis/build/bluzi/name-db > mocha name files 1) should contain valid JSON 2) should contain a lowercase name, same as the filename 3) should not have duplicate names 4) should have ISO-639-3 language codes 5) should have correct structure Translations 6) should be lowercase Sex 7) should be "m", "f" or "u" 8) should be lowercase 0 passing (76ms) 8 failing 1) name files should contain valid JSON: Error: Error in name file "sebastiaan.json": Invalid JSON file SyntaxError: Unexpected token in JSON at position 669 at Context.it (test/test.js:16:23) 2) name files should contain a lowercase name, same as the filename: SyntaxError: Unexpected token in JSON at position 669 at JSON.parse () at Context.it (test/test.js:24:31) 3) name files should not have duplicate names: SyntaxError: Unexpected token in JSON at position 669 at JSON.parse () at Context.it (test/test.js:35:31) 4) name files should have ISO-639-3 language codes: Error: fre is not a valid ISO-639-3 language code in "corentine.json" at Context.it (test/test.js:53:27) 5) name files should have correct structure: Error: Error in name file "christian.json": instance.translations additionalProperty "eng" exists in instance when not allowed at Context.it (test/test.js:106:23) 6) Translations should be lowercase: AssertionError [ERR_ASSERTION]: "Jerzy" translation in "george.json" is not lowercase + expected - actual -Jerzy +jerzy at Context.it (test/test.js:121:24) 7) Sex should be "m", "f" or "u": SyntaxError: Unexpected token in JSON at position 669 at JSON.parse () at Context.it (test/test.js:131:31) 8) Sex should be lowercase: SyntaxError: Unexpected token in JSON at position 669 at JSON.parse () at Context.it (test/test.js:145:31) npm ERR! Test failed. See above for more details. ```


TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

npm test ``` > name-db@1.0.0 test /home/travis/build/bluzi/name-db > mocha name files 1) should contain valid JSON 2) should contain a lowercase name, same as the filename 3) should not have duplicate names 4) should have ISO-639-3 language codes 5) should have correct structure Translations 6) should be lowercase Sex 7) should be "m", "f" or "u" 8) should be lowercase 0 passing (72ms) 8 failing 1) name files should contain valid JSON: Error: Error in name file "sebastiaan.json": Invalid JSON file SyntaxError: Unexpected token in JSON at position 669 at Context.it (test/test.js:16:23) 2) name files should contain a lowercase name, same as the filename: SyntaxError: Unexpected token in JSON at position 669 at JSON.parse () at Context.it (test/test.js:24:31) 3) name files should not have duplicate names: SyntaxError: Unexpected token in JSON at position 669 at JSON.parse () at Context.it (test/test.js:35:31) 4) name files should have ISO-639-3 language codes: Error: fre is not a valid ISO-639-3 language code in "corentine.json" at Context.it (test/test.js:53:27) 5) name files should have correct structure: Error: Error in name file "christian.json": instance.translations additionalProperty "eng" exists in instance when not allowed at Context.it (test/test.js:106:23) 6) Translations should be lowercase: AssertionError [ERR_ASSERTION]: "Jakob" translation in "jacob.json" is not lowercase + expected - actual -Jakob +jakob at Context.it (test/test.js:121:24) 7) Sex should be "m", "f" or "u": SyntaxError: Unexpected token in JSON at position 669 at JSON.parse () at Context.it (test/test.js:131:31) 8) Sex should be lowercase: SyntaxError: Unexpected token in JSON at position 669 at JSON.parse () at Context.it (test/test.js:145:31) npm ERR! Test failed. See above for more details. ```


TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

npm test ``` > name-db@1.0.0 test /home/travis/build/bluzi/name-db > mocha name files ✓ should contain valid JSON ✓ should contain a lowercase name, same as the filename ✓ should not have duplicate names 1) should have ISO-639-3 language codes 2) should have correct structure Translations 3) should be lowercase Sex ✓ should be "m", "f" or "u" ✓ should be lowercase 5 passing (75ms) 3 failing 1) name files should have ISO-639-3 language codes: Error: fre is not a valid ISO-639-3 language code in "corentine.json" at Context.it (test/test.js:53:27) 2) name files should have correct structure: Error: Error in name file "christian.json": instance.translations additionalProperty "eng" exists in instance when not allowed at Context.it (test/test.js:106:23) 3) Translations should be lowercase: AssertionError [ERR_ASSERTION]: "Jakob" translation in "jacob.json" is not lowercase + expected - actual -Jakob +jakob at Context.it (test/test.js:121:24) npm ERR! Test failed. See above for more details. ```


TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

npm test ``` > name-db@1.0.0 test /home/travis/build/bluzi/name-db > mocha name files ✓ should contain valid JSON ✓ should contain a lowercase name, same as the filename ✓ should not have duplicate names 1) should have ISO-639-3 language codes 2) should have correct structure Translations 3) should be lowercase Sex ✓ should be "m", "f" or "u" ✓ should be lowercase 5 passing (80ms) 3 failing 1) name files should have ISO-639-3 language codes: Error: fr is not a valid ISO-639-3 language code in "corentine.json" at Context.it (test/test.js:53:27) 2) name files should have correct structure: Error: Error in name file "christian.json": instance.translations additionalProperty "eng" exists in instance when not allowed at Context.it (test/test.js:106:23) 3) Translations should be lowercase: AssertionError [ERR_ASSERTION]: "Roland" translation in "roland.json" is not lowercase + expected - actual -Roland +roland at Context.it (test/test.js:121:24) npm ERR! Test failed. See above for more details. ```


TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

npm test ``` > name-db@1.0.0 test /home/travis/build/bluzi/name-db > mocha name files ✓ should contain valid JSON ✓ should contain a lowercase name, same as the filename ✓ should not have duplicate names 1) should have ISO-639-3 language codes 2) should have correct structure Translations 3) should be lowercase Sex ✓ should be "m", "f" or "u" ✓ should be lowercase 5 passing (79ms) 3 failing 1) name files should have ISO-639-3 language codes: Error: fr is not a valid ISO-639-3 language code in "corentine.json" at Context.it (test/test.js:53:27) 2) name files should have correct structure: Error: Error in name file "christian.json": instance.translations additionalProperty "eng" exists in instance when not allowed at Context.it (test/test.js:106:23) 3) Translations should be lowercase: AssertionError [ERR_ASSERTION]: "Roland" translation in "roland.json" is not lowercase + expected - actual -Roland +roland at Context.it (test/test.js:121:24) npm ERR! Test failed. See above for more details. ```


TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

npm test ``` > name-db@1.0.0 test /home/travis/build/bluzi/name-db > mocha name files ✓ should contain valid JSON ✓ should contain a lowercase name, same as the filename ✓ should not have duplicate names 1) should have ISO-639-3 language codes 2) should have correct structure Translations 3) should be lowercase Sex ✓ should be "m", "f" or "u" ✓ should be lowercase 5 passing (118ms) 3 failing 1) name files should have ISO-639-3 language codes: Error: pun is not a valid ISO-639-3 language code in "naman.json" at Context.it (test/test.js:53:27) 2) name files should have correct structure: Error: Error in name file "christian.json": instance.translations additionalProperty "eng" exists in instance when not allowed at Context.it (test/test.js:106:23) 3) Translations should be lowercase: AssertionError [ERR_ASSERTION]: "Sarah" translation in "sarah.json" is not lowercase + expected - actual -Sarah +sarah at Context.it (test/test.js:121:24) npm ERR! Test failed. See above for more details. ```


TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

npm test ``` > name-db@1.0.0 test /home/travis/build/bluzi/name-db > mocha name files ✓ should contain valid JSON ✓ should contain a lowercase name, same as the filename ✓ should not have duplicate names 1) should have ISO-639-3 language codes 2) should have correct structure Translations 3) should be lowercase Sex ✓ should be "m", "f" or "u" ✓ should be lowercase 5 passing (125ms) 3 failing 1) name files should have ISO-639-3 language codes: Error: pun is not a valid ISO-639-3 language code in "naman.json" at Context.it (test/test.js:53:27) 2) name files should have correct structure: Error: Error in name file "christian.json": instance.translations additionalProperty "eng" exists in instance when not allowed at Context.it (test/test.js:106:23) 3) Translations should be lowercase: AssertionError [ERR_ASSERTION]: "Тим" translation in "tim.json" is not lowercase + expected - actual -Тим +тим at Context.it (test/test.js:121:24) npm ERR! Test failed. See above for more details. ```


TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

npm test ``` > name-db@1.0.0 test /home/travis/build/bluzi/name-db > mocha name files ✓ should contain valid JSON ✓ should contain a lowercase name, same as the filename ✓ should not have duplicate names ✓ should have ISO-639-3 language codes (101ms) 1) should have correct structure Translations 2) should be lowercase Sex ✓ should be "m", "f" or "u" ✓ should be lowercase 6 passing (154ms) 2 failing 1) name files should have correct structure: Error: Error in name file "christian.json": instance.translations additionalProperty "eng" exists in instance when not allowed at Context.it (test/test.js:106:23) 2) Translations should be lowercase: AssertionError [ERR_ASSERTION]: "Тим" translation in "tim.json" is not lowercase + expected - actual -Тим +тим at Context.it (test/test.js:121:24) npm ERR! Test failed. See above for more details. ```


TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

npm test ``` > name-db@1.0.0 test /home/travis/build/bluzi/name-db > mocha name files ✓ should contain valid JSON ✓ should contain a lowercase name, same as the filename ✓ should not have duplicate names ✓ should have ISO-639-3 language codes (101ms) 1) should have correct structure Translations ✓ should be lowercase Sex ✓ should be "m", "f" or "u" ✓ should be lowercase 7 passing (154ms) 1 failing 1) name files should have correct structure: Error: Error in name file "christian.json": instance.translations additionalProperty "eng" exists in instance when not allowed at Context.it (test/test.js:106:23) npm ERR! Test failed. See above for more details. ```


TravisBuddy commented 3 years ago

Build failed

Hey Copolycube, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

npm test ``` > name-db@1.0.0 test /home/travis/build/bluzi/name-db > mocha name files ✓ should contain valid JSON ✓ should contain a lowercase name, same as the filename ✓ should not have duplicate names ✓ should have ISO-639-3 language codes (97ms) 1) should have correct structure Translations ✓ should be lowercase Sex ✓ should be "m", "f" or "u" ✓ should be lowercase 7 passing (151ms) 1 failing 1) name files should have correct structure: Error: Error in name file "christian.json": instance.translations additionalProperty "eng" exists in instance when not allowed at Context.it (test/test.js:106:23) npm ERR! Test failed. See above for more details. ```


copolycube commented 3 years ago

@bluzi , your repo had several issues since last year including a travis mis-configuration, but I think I fixed them all now through this pull request, it's now running again with all the checks (and all the tests passed)

copolycube commented 3 years ago

closing this PR to focus on https://github.com/bluzi/name-db/pull/593 (updated fetch for synchro on source fork)