Skip to content

Commit 988468f

Browse files
Vlastimil Zemantautschnig
Vlastimil Zeman
authored andcommitted
Add ccache for gcc builds
1 parent 975bb44 commit 988468f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
before_install:
3838
- mkdir bin ; ln -s /usr/bin/gcc-5 bin/gcc
3939
# env: COMPILER=g++-5 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover -fno-omit-frame-pointer"
40-
env: COMPILER="g++-5"
40+
env: COMPILER="ccache g++-5"
4141

4242
# Alpine Linux with musl-libc using g++
4343
- stage: Test different OS/CXX/Flags
@@ -64,7 +64,7 @@ jobs:
6464
- mkdir bin ; ln -s /usr/bin/gcc bin/gcc
6565
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
6666
- export PATH=/usr/local/opt/ccache/libexec:$PATH
67-
env: COMPILER=g++
67+
env: COMPILER="ccache g++"
6868

6969
# OS X using clang++
7070
- stage: Test different OS/CXX/Flags
@@ -97,7 +97,7 @@ jobs:
9797
- mkdir bin ; ln -s /usr/bin/gcc-5 bin/gcc
9898
# env: COMPILER=g++-5 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover -fno-omit-frame-pointer"
9999
env:
100-
- COMPILER="g++-5"
100+
- COMPILER="ccache g++-5"
101101
- EXTRA_CXXFLAGS="-DDEBUG"
102102
script: echo "Not running any tests for a debug build."
103103

0 commit comments

Comments
 (0)