Skip to content

Commit 3a26dcd

Browse files
committed
ci: set PUBLISH_BINARY to false on travis for PR builds
1 parent 3bfa70f commit 3a26dcd

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/build-lint-test.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
name: build-lint-test
22

33
on:
4-
- push
4+
push:
5+
branches:
6+
- master
7+
- develop
8+
pull_request:
59

610
env:
711
LIBCURL_RELEASE: 'LATEST'

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ before_install:
7676
export LINK="gcc-${GCC_VERSION}";
7777
export LINKXX="g++-${GCC_VERSION}";
7878
fi
79+
- if [[ $TRAVIS_PULL_REQUEST != "false" ]]; then
80+
export PUBLISH_BINARY="false";
81+
fi
7982
- export PATH=$HOME/bin:$PATH
8083
- yarn --version
8184
- node --version

0 commit comments

Comments
 (0)