Skip to content

Commit

Permalink
Use shallow clones
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Oliveira committed Oct 27, 2017
1 parent 3b660ff commit 5fb8f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion travis-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ echo "Building $TRAVIS_BRANCH"

if [ $TRAVIS_BRANCH != "latest" ]; then
# Clone Keycloak repo
git clone $REPO > /dev/null 2>&1 && cd keycloak
git clone --depth 1 $REPO > /dev/null 2>&1 && cd keycloak

# The exact version of Keycloak based on Maven
VERSION=`mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version|grep -Ev '(^\[|Download\w+:)'`
Expand Down

0 comments on commit 5fb8f99

Please sign in to comment.