Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit a265d04

Browse files
authored
Merge pull request #104 from aminya/submodule-init
Ensure submodule inclusion + Fix the tests
2 parents 4a22127 + 06842ce commit a265d04

File tree

5 files changed

+655
-1068
lines changed

5 files changed

+655
-1068
lines changed

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@ notifications:
55
on_success: never
66
on_failure: change
77

8-
node_js: "10"
8+
node_js: "12"
99

1010
git:
1111
depth: 10
1212
submodules: false
1313

14-
before_install:
15-
- git submodule update --init
16-
1714
branches:
1815
only:
1916
- master
@@ -22,3 +19,11 @@ sudo: false
2219

2320
env:
2421
- CC=clang CXX=clang++ npm_config_clang=1
22+
23+
install:
24+
- npm run prepare
25+
- npm install
26+
27+
script:
28+
- npm run lint
29+
- npm run test

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Helpers for working with Git repositories built natively on top of
1010
npm install git-utils
1111
```
1212

13-
## Building
14-
* Clone the repository with the `--recurse` option to get the libgit2
15-
submodule
13+
## Development
14+
* Clone the repository
15+
* Run `npm run prepare` to get the submodule
1616
* Run `npm install`
1717
* Run `npm test` to run the specs
1818

appveyor.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
version: "{build}"
22

3+
image: Visual Studio 2015
4+
35
platform: x64
46

57
branches:
@@ -10,12 +12,17 @@ clone_depth: 10
1012

1113
skip_tags: true
1214

15+
init:
16+
# Use CRLF to test correct Windows behavior
17+
- git config --global core.autocrlf true
18+
1319
install:
14-
- git submodule update --init
15-
- ps: Install-Product node 6
20+
- ps: Install-Product node 12
21+
- npm run prepare
1622
- npm install
23+
- npm run lint
24+
- npm run test
1725

1826
build: off
1927
test: off
2028
deploy: off
21-

0 commit comments

Comments
 (0)