Skip to content

Commit

Permalink
Use 'set -x' to simplify script debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ljdelight committed Apr 12, 2023
1 parent 93db311 commit 63af1f7
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env sh
set -x

chmod u+x gradlew

Expand Down
1 change: 1 addition & 0 deletions .travis/deploy-gate.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env sh
set -x

if [ $TRAVIS_TEST_RESULT -eq 0 ];
then
Expand Down
1 change: 1 addition & 0 deletions .travis/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env sh
set -x

if [ "$TRAVIS_BRANCH" = "main" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ];
then
Expand Down
1 change: 1 addition & 0 deletions .travis/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env sh
set -x

if [ "$TRAVIS_BRANCH" = "main" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ];
then
Expand Down
1 change: 1 addition & 0 deletions .travis/merge-dev-to-main-gate.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env sh
set -x

if [ $TRAVIS_TEST_RESULT -eq 0 ];
then
Expand Down
1 change: 1 addition & 0 deletions .travis/merge-dev-to-main.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env sh
set -x

GITHUB_REPO="osmlab/maproulette-java-client"
MERGE_BRANCH=main
Expand Down
1 change: 1 addition & 0 deletions .travis/tag-main-gate.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env sh
set -x

if [[ $TRAVIS_TEST_RESULT == 0 ]] && [[ 1 == 0 ]];
then
Expand Down
1 change: 1 addition & 0 deletions .travis/tag-main.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env sh
set -x

GITHUB_REPO="osmlab/maproulette-java-client"
RELEASE_BRANCH=main
Expand Down
1 change: 1 addition & 0 deletions .travis/trigger-release.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env sh
set -x

# Use Travis to trigger a release from Main

Expand Down

0 comments on commit 63af1f7

Please sign in to comment.