Skip to content
This repository was archived by the owner on Apr 15, 2023. It is now read-only.

Commit 7d9d27b

Browse files
Passing branch
1 parent 20c7cb7 commit 7d9d27b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: java
22

33
before_install:
4-
- ./install_dependencies.sh
4+
- BRANCH=develop ./install_dependencies.sh
55
- "export DISPLAY=:99.0"
66
- "sh -e /etc/init.d/xvfb start"
77

install_dependencies.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
set -e
33

44
sdk_project="tagmycode-java-sdk"
5-
branch=$(git branch | grep \* | cut -d ' ' -f2)
5+
branch=${BRANCH}
6+
[[ -z "$BRANCH" ]] && { echo "Error: parameter BRANCH is empty" ; exit 1; }
67

78
rm -fr ${sdk_project}
89

0 commit comments

Comments
 (0)