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
f0407264
Unverified
Commit
f0407264
authored
May 23, 2016
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
try to fix travis build
parent
27bb2cf8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
.travis.yml
.travis.yml
+5
-4
No files found.
.travis.yml
View file @
f0407264
...
@@ -15,10 +15,10 @@ before_install:
...
@@ -15,10 +15,10 @@ before_install:
-
echo "https://$GH_TOKEN:@github.com" > .git/credentials
-
echo "https://$GH_TOKEN:@github.com" > .git/credentials
-
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
-
'
[
"${MVN_GOAL}"
==
"deploy"
]
&&
./docs/src/main/asciidoc/ghpages.sh
||
echo
"Not
updating
docs"'
#
- '[ "${MVN_GOAL}" == "deploy" ] && ./docs/src/main/asciidoc/ghpages.sh || echo "Not updating docs"'
script
:
script
:
-
'
./mvnw
-s
.settings.xml
$MVN_GOAL
$MVN_PROFILE
-nsu
-Dmaven.test.redirectTestOutputToFile=true'
-
'
./mvnw
-s
.settings.xml
$MVN_GOAL
$MVN_PROFILE
-nsu
-Dmaven.test.redirectTestOutputToFile=true
-Dmaven.javadoc.skip=true
'
env
:
env
:
global
:
global
:
-
GIT_NAME="Dave Syer"
-
GIT_NAME="Dave Syer"
...
@@ -26,7 +26,8 @@ env:
...
@@ -26,7 +26,8 @@ env:
-
CI_DEPLOY_USERNAME=buildmaster
-
CI_DEPLOY_USERNAME=buildmaster
-
FEATURE_BRANCH=$(echo ${TRAVIS_BRANCH} | grep -q "^.*/.*$" && echo
true
|| echo
false
)
-
FEATURE_BRANCH=$(echo ${TRAVIS_BRANCH} | grep -q "^.*/.*$" && echo
true
|| echo
false
)
-
SPRING_CLOUD_BUILD=$(echo ${TRAVIS_REPO_SLUG} | grep -q "^spring-cloud/.*$" && echo
true
|| echo
false
)
-
SPRING_CLOUD_BUILD=$(echo ${TRAVIS_REPO_SLUG} | grep -q "^spring-cloud/.*$" && echo
true
|| echo
false
)
-
MVN_GOAL=$([ "${TRAVIS_PULL_REQUEST}" == "false" -a "${TRAVIS_TAG}" == "" -a "${FEATURE_BRANCH}" == "false" -a "${SPRING_CLOUD_BUILD}" == "true" ] && echo deploy || echo install)
# jenkins.spring.io is doing deploy
-
MVN_GOAL=install
-
VERSION=$(mvn validate | grep Building | head -1 | sed -e 's/.* //')
-
VERSION=$(mvn validate | grep Building | head -1 | sed -e 's/.* //')
-
MILESTONE=$(echo ${VERSION} | egrep 'M|RC' && echo
true
|| echo
false
)
-
MILESTONE=$(echo ${VERSION} | egrep 'M|RC' && echo
true
|| echo
false
)
-
MVN_PROFILE=$([ "${MILESTONE}" == "true" ] && echo -P milestone)
-
MVN_PROFILE=$([ "${MILESTONE}" == "true" ] && echo -P milestone)
...
...
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