Skip to content

Commit ebe129c

Browse files
committed
wip
1 parent e1e1bb3 commit ebe129c

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.travis.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ cache:
1313
directories:
1414
- $HOME/astyle
1515

16-
#useless?
17-
#stages:
18-
# - build
19-
# - deploy
20-
2116
jobs:
2217
include:
2318
# Build stage. To save time, run all kinds of builds and tests in parallel.
@@ -83,10 +78,8 @@ jobs:
8378
# Deploy stage.
8479
# Here we build the package JSON (always) and do the deployments
8580
- 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
9083
stage: deploy
9184
script: $TRAVIS_BUILD_DIR/tests/common.sh
9285
env: BUILD_TYPE=package

0 commit comments

Comments
 (0)