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

Ensure submodule inclusion + Fix the tests #104

Merged
merged 9 commits into from
Jan 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@ notifications:
on_success: never
on_failure: change

node_js: "10"
node_js: "12"

git:
depth: 10
submodules: false

before_install:
- git submodule update --init

branches:
only:
- master
Expand All @@ -22,3 +19,11 @@ sudo: false

env:
- CC=clang CXX=clang++ npm_config_clang=1

install:
- npm run prepare
- npm install

script:
- npm run lint
- npm run test
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Helpers for working with Git repositories built natively on top of
npm install git-utils
```

## Building
* Clone the repository with the `--recurse` option to get the libgit2
submodule
## Development
* Clone the repository
* Run `npm run prepare` to get the submodule
* Run `npm install`
* Run `npm test` to run the specs

Expand Down
13 changes: 10 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version: "{build}"

image: Visual Studio 2015

platform: x64

branches:
Expand All @@ -10,12 +12,17 @@ clone_depth: 10

skip_tags: true

init:
# Use CRLF to test correct Windows behavior
- git config --global core.autocrlf true

install:
- git submodule update --init
- ps: Install-Product node 6
- ps: Install-Product node 12
- npm run prepare
- npm install
- npm run lint
- npm run test

build: off
test: off
deploy: off

Loading