Skip to content
Snippets Groups Projects
Unverified Commit ea5e941d authored by Dominic Jodoin's avatar Dominic Jodoin Committed by GitHub
Browse files

Change directory ownership earlier

parent b5c08cb9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment