Skip to content

Commit 619f0ca

Browse files
committed
Use sudo and cache some directories
1 parent 6d502f1 commit 619f0ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
# Source: https://github.com/boostorg/hana/blob/master/.travis.yml
22

33
language: cpp
4+
sudo: true
45
compiler:
56
- clang
67
- gcc
78
addons:
89
apt:
910
sources:
1011
- ubuntu-toolchain-r-test
12+
cache:
13+
directories:
14+
- ${TRAVIS_BUILD_DIR}/deps/cmake
15+
- ${TRAVIS_BUILD_DIR}/deps/protobuf
1116
install:
1217
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
1318
- mkdir -p "${DEPS_DIR}" && cd "${DEPS_DIR}"

0 commit comments

Comments
 (0)