Skip to content
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
yangchf
feign
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
feign
/
installViaTravis.sh
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
executable file
·
16 lines (15 loc) · 787 Bytes
master
Breadcrumbs
feign
/
installViaTravis.sh
Copy path
Top
File metadata and controls
Code
Blame
executable file
·
16 lines (15 loc) · 787 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!
/bin/bash
#
This script will build the project.
if
[
"
$TRAVIS_PULL_REQUEST
"
!=
"
false
"
]
;
then
echo
-e
"
Assemble Pull Request #
$TRAVIS_PULL_REQUEST
=> Branch [
$TRAVIS_BRANCH
]
"
./gradlew assemble
elif
[
"
$TRAVIS_PULL_REQUEST
"
==
"
false
"
]
&&
[
"
$TRAVIS_TAG
"
==
"
"
]
;
then
echo
-e
'
Assemble Branch with Snapshot => Branch [
'
$TRAVIS_BRANCH
'
]
'
./gradlew -Prelease.travisci=true assemble
elif
[
"
$TRAVIS_PULL_REQUEST
"
==
"
false
"
]
&&
[
"
$TRAVIS_TAG
"
!=
"
"
]
;
then
echo
-e
'
Assemble Branch for Release => Branch [
'
$TRAVIS_BRANCH
'
] Tag [
'
$TRAVIS_TAG
'
]
'
./gradlew -Prelease.travisci=true -Prelease.useLastTag=true assemble
else
echo
-e
'
WARN: Should not be here => Branch [
'
$TRAVIS_BRANCH
'
] Tag [
'
$TRAVIS_TAG
'
] Pull Request [
'
$TRAVIS_PULL_REQUEST
'
]
'
./gradlew assemble
fi
You can’t perform that action at this time.