Skip to content

Commit 543cdde

Browse files
author
Simon Renoult
committed
chore: attempt at making travis work with submodules
1 parent 2c87949 commit 543cdde

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
language: node_js
22

33
node_js:
4-
- "8.9"
4+
- 12
5+
6+
git:
7+
submodules: false
8+
9+
before_install:
10+
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
11+
- git submodule update --init --recursive
512

613
script:
14+
- npm ci
715
- npm test
8-
16+
917
after_success:
10-
- npm run coverage
18+
- npm run coverage

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"lint": "eslint --ext .ts .",
2323
"prepare": "npm run lint && npm run build",
2424
"postversion": "git push --tags",
25-
"test": "mocha --require ts-node/register test/*.ts",
25+
"test": "mocha --timeout=10000 --require ts-node/register test/*.ts",
2626
"test:watch": "mocha --require ts-node/register --watch --watch-files src/*.ts, test/*.ts"
2727
},
2828
"keywords": [

0 commit comments

Comments
 (0)