summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorVladimir Prus <vladimir.prus@gmail.com>2016-03-31 08:14:07 -0400
committerVladimir Prus <vladimir.prus@gmail.com>2016-03-31 08:14:07 -0400
commit48015c7745f4ef3b73034383f24a6f8a95a0921f (patch)
treeae93f3862582c358a75ac513f875adf431773c70 /.travis.yml
parent11da8f8fafc4ba6b3e577e63abb7dc45cb902e2f (diff)
downloadboost-48015c7745f4ef3b73034383f24a6f8a95a0921f.tar.gz
Set git line-ending config globally for Travis builds.
It looks like Git 1.8 does not respect superproject settings when checking out submodules.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 67045151df..16e2fa82ba 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -84,8 +84,8 @@ before_script:
- |
if [[ "${RELEASE_BUILD}" == "LF" ]]; then
cd "${TRAVIS_BUILD_DIR}"
- git config core.eol lf
- git config core.autocrlf input
+ git config --global core.eol lf
+ git config --global core.autocrlf input
git rm --cache -r .
git reset --quiet --hard HEAD
git submodule update --init --recursive
@@ -93,8 +93,8 @@ before_script:
- |
if [[ "${RELEASE_BUILD}" == "CRLF" ]]; then
cd "${TRAVIS_BUILD_DIR}"
- git config core.eol crlf
- git config core.autocrlf true
+ git config --global core.eol crlf
+ git config --global core.autocrlf true
git rm --cache -r .
git reset --quiet --hard HEAD
git submodule update --init --recursive