Skip to content

Commit 744c1a9

Browse files
committed
chore: Skip all branch builds.
Dependabot is putting a lot of load on travis because it creates branches in the upstream repo.
1 parent 7fe147e commit 744c1a9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/settings.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ repository:
55
name: js-toxcore-c
66
description: Node bindings for toxcore
77
topics: toxcore, javascript
8-
has_issues: true
98

109
branches:
1110
- name: "master"

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ script:
4242
- npm run test
4343
- npm run report-coverage
4444
- if [ "$CHECK_FORMAT" = true ]; then npm run format && git diff --exit-code; fi
45+
46+
# Only build pull requests and releases, don't build master on pushes,
47+
# except through api or cron.
48+
if: type IN (pull_request, api, cron) OR tag IS present

0 commit comments

Comments
 (0)