mirror of https://gitee.com/bigwinds/arangodb
ccache for travis
This commit is contained in:
parent
732a8fa5cd
commit
833e038171
|
@ -31,13 +31,6 @@ addons:
|
|||
|
||||
install:
|
||||
|
||||
# prepare wrapper for gold
|
||||
- mkdir -p $HOME/bin/gold && (echo '#!/bin/bash'; echo 'gold "$@"') > $HOME/bin/gold/ld && chmod a+x $HOME/bin/gold/ld
|
||||
|
||||
# prepare GCC & G++
|
||||
- (echo '#!/bin/bash'; echo 'ccache /usr/bin/gcc-4.9 "$@"') > $HOME/bin/gcc && chmod a+x $HOME/bin/gold/ld
|
||||
- (echo '#!/bin/bash'; echo 'ccache /usr/bin/g++-4.9 "$@"') > $HOME/bin/g++ && chmod a+x $HOME/bin/gold/ld
|
||||
|
||||
# prepare environment
|
||||
- export PATH="$HOME/bin:$PATH"
|
||||
- export CC="$HOME/bin/gcc"
|
||||
|
|
|
@ -1,6 +1,19 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# prepare wrapper for gold
|
||||
mkdir -p $HOME/bin/gold
|
||||
(echo '#!/bin/bash'; echo 'gold "$@"') > $HOME/bin/gold/ld
|
||||
chmod a+x $HOME/bin/gold/ld
|
||||
|
||||
# prepare CCACHE
|
||||
echo '#!/bin/bash'; echo 'ccache /usr/bin/gcc-4.9 "$@"') > $HOME/bin/gcc
|
||||
chmod a+x $HOME/bin/gcc
|
||||
|
||||
(echo '#!/bin/bash'; echo 'ccache /usr/bin/g++-4.9 "$@"') > $HOME/bin/g++
|
||||
chmod a+x $HOME/bin/g++
|
||||
|
||||
# prepare files for unit test
|
||||
d='UnitTests/HttpInterface'
|
||||
|
||||
echo
|
||||
|
|
Loading…
Reference in New Issue