Skip to content

Commit c60b8e0

Browse files
authored
Add CI test for Duplicate Indices (#198)
* Switch over to yarn * Initial test for Ability Scores * Duplicate index test * Cleanup
1 parent 6cc1ac3 commit c60b8e0

File tree

6 files changed

+4002
-1073
lines changed

6 files changed

+4002
-1073
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ node_js:
44

55
branches:
66
only:
7-
- master
7+
- master
88

99
jobs:
1010
include:
1111
- stage: Test
12-
script: npm run lint
12+
name: "Lint"
13+
script: yarn lint
14+
- name: "Test"
15+
script: yarn test
1316
- stage: Deploy
1417
if: branch = master AND type != pull_request
15-
script: npm run db:refresh
18+
script: yarn db:refresh

jest.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
testRegex: "test\\.js$",
3+
coveragePathIgnorePatterns: ["/node_modules/"],
4+
};

0 commit comments

Comments
 (0)