File tree 1 file changed +2
-9
lines changed 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,6 @@ cache:
13
13
directories :
14
14
- $HOME/astyle
15
15
16
- # useless?
17
- # stages:
18
- # - build
19
- # - deploy
20
-
21
16
jobs :
22
17
include :
23
18
# Build stage. To save time, run all kinds of builds and tests in parallel.
83
78
# Deploy stage.
84
79
# Here we build the package JSON (always) and do the deployments
85
80
- name : " Package / deploy"
86
- # TRAVIS_PULL_REQUEST_BRANCH:
87
- # if the current job is a pull request, the name of the branch from which the PR originated.
88
- # if the current job is a push build, this variable is empty ("").
89
- if : env(TRAVIS_PULL_REQUEST_BRANCH) = ""
81
+ # require the branch name to NOT be master (note for PRs this is the base branch name)
82
+ if : branch != master
90
83
stage : deploy
91
84
script : $TRAVIS_BUILD_DIR/tests/common.sh
92
85
env : BUILD_TYPE=package
You can’t perform that action at this time.
0 commit comments