summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominic Jodoin <dominic@travis-ci.com>2018-12-11 22:50:17 -0500
committerGitHub <noreply@github.com>2018-12-11 22:50:17 -0500
commitea5e941d84707918eadde0d6bc407978e5a6a2aa (patch)
tree3c540be959132cde3712b13f6ab2cd54eb046b83
parentb5c08cb9f4f1673bd943cbaea87b827c228d08e6 (diff)
downloadgoogletest-ea5e941d84707918eadde0d6bc407978e5a6a2aa.tar.gz
googletest-ea5e941d84707918eadde0d6bc407978e5a6a2aa.zip
Change directory ownership earlier
-rw-r--r--.travis.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 2bcf752f..e8a062ed 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -54,6 +54,7 @@ before_install:
sudo apt-get install --download-only -o Dir::cache=${TRAVIS_BUILD_DIR}/apt-cache -o Dir::State::Lists=${TRAVIS_BUILD_DIR}/apt-cache/lists g++-4.9 clang-3.9
fi
- sudo apt-get install --no-download -o Dir::cache=${TRAVIS_BUILD_DIR}/apt-cache -o Dir::State::Lists=${TRAVIS_BUILD_DIR}/apt-cache/lists g++-4.9 clang-3.9
+ - sudo chown -R $USER ${TRAVIS_BUILD_DIR}/apt-cache
# These are the install and build (script) phases for the most common entries in the matrix. They could be included
# in each entry in the matrix, but that is just repetitive.
@@ -75,9 +76,6 @@ addons:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.9
-before_cache:
- - sudo chown -R $USER ${TRAVIS_BUILD_DIR}/apt-cache
-
cache:
directories:
- apt-cache
OpenPOWER on IntegriCloud