diff --git a/circle.yml b/circle.yml index 3800bd50f..9466cd976 100644 --- a/circle.yml +++ b/circle.yml @@ -15,6 +15,12 @@ machine: dependencies: cache_directories: - "~/.ccache" + post: + - sudo wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - + - sudo add-apt-repository "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main" + - sudo apt-get update -y + - sudo apt-get install clang-3.5 -y + test: override: diff --git a/scripts/circleci.sh b/scripts/circleci.sh index 02fe76b8a..c8c56a3fc 100755 --- a/scripts/circleci.sh +++ b/scripts/circleci.sh @@ -7,6 +7,6 @@ source bootstrap.sh ccache --version ccache -p || true ccache --show-stats || true -./configure CXX="ccache clang++ -Qunused-arguments" +./configure CC="clang-3.5" CXX="ccache clang++-3.5 -Qunused-arguments" make make test \ No newline at end of file