Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
90e7fd8d
Commit
90e7fd8d
authored
Feb 12, 2016
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align travis build with tools in spring-cloud/build
parent
d66cae9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
.travis.yml
.travis.yml
+8
-11
No files found.
.travis.yml
View file @
90e7fd8d
...
@@ -15,20 +15,17 @@ before_install:
...
@@ -15,20 +15,17 @@ before_install:
-
gem install asciidoctor
-
gem install asciidoctor
install
:
install
:
-
./mvnw install -P docs -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true
-
./mvnw install -P docs -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true
-
./docs/src/main/asciidoc/ghpages.sh
-
'
[
"${MVN_GOAL}"
==
"deploy"
]
&&
./docs/src/main/asciidoc/ghpages.sh'
script
:
-
'
./mvnw
-s
.settings.xml
$MVN_GOAL
$MVN_PROFILE
-nsu
-Dmaven.test.redirectTestOutputToFile=true'
env
:
env
:
global
:
global
:
-
GIT_NAME="Dave Syer"
-
GIT_NAME="Dave Syer"
-
GIT_EMAIL=dsyer@pivotal.io
-
GIT_EMAIL=dsyer@pivotal.io
-
CI_DEPLOY_USERNAME=buildmaster
-
CI_DEPLOY_USERNAME=buildmaster
-
FEATURE_BRANCH=$(echo ${TRAVIS_BRANCH} | grep "^.*/.*$" && echo
true
|| echo
false
)
-
MVN_GOAL=$([ "${TRAVIS_PULL_REQUEST}" == "false" -a "${TRAVIS_TAG}" == "" -a "${FEATURE_BRANCH}" == "false" ] && echo deploy || echo install)
-
VERSION=$(mvn validate | grep Building | head -1 | sed -e 's/.* //')
-
MILESTONE=$(echo ${VERSION} | egrep 'M|RC' && echo
true
|| echo
false
)
-
MVN_PROFILE=$([ "${MILESTONE}" == "true" ] && echo -P milestone)
-
secure
:
aeLXRC5oFSddwnZt1/7G2/OHr7jDbxz0ET7sej3I+eSbe3N5vbzQ6FC08es4l89l54ciXd90I1g2BMw7DTYKOO373FP78XPdAEbifJTU4DGd6fCELmoTtUPhjunBIk7E49hisPbv82892IYYA7qi/hzG548cPyZ1IgiJjq0NCsc=
-
secure
:
aeLXRC5oFSddwnZt1/7G2/OHr7jDbxz0ET7sej3I+eSbe3N5vbzQ6FC08es4l89l54ciXd90I1g2BMw7DTYKOO373FP78XPdAEbifJTU4DGd6fCELmoTtUPhjunBIk7E49hisPbv82892IYYA7qi/hzG548cPyZ1IgiJjq0NCsc=
script
:
|
echo "Current Branch: ${TRAVIS_BRANCH}"
echo "Pull Request: ${TRAVIS_PULL_REQUEST}"
if [ "${TRAVIS_BRANCH}" = master ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
echo "[Publishing] Pushing snapshot to Sonatype"
./mvnw -s .settings.xml deploy -P release -nsu -Dmaven.test.redirectTestOutputToFile=true
else
echo "[Installing] Intalling snapshot to local maven repo"
./mvnw install -nsu -Dmaven.test.redirectTestOutputToFile=true
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment