Skip to content

Commit d83a299

Browse files
committed
Try to fix travis ccache.
1 parent 3a005d4 commit d83a299

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.travis.yml

+8-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
language: go
2-
go:
3-
- 1.9.2
1+
language: c++
42
before_cache:
53
- ccache -s
6-
env:
7-
global:
8-
- USE_CCACHE=1
9-
cache:
10-
directories:
11-
- $HOME/.ccache
4+
cache: ccache
5+
before_install: |
6+
sudo apt-get -qq update
7+
sudo apt-get install -y golang
8+
export GOROOT=$HOME/go
9+
mkdir $GOROOT
1210
install:
13-
- mkdir -p $HOME/.ccache
14-
- export PATH=/usr/lib/ccache:$PATH
15-
- ./tools/build.py
11+
- ./tools/build.py --use_ccache
1612
script:
1713
- ./tools/test.sh

0 commit comments

Comments
 (0)