blob: 7d3a650a1c9906c6d1cb9f16223467fffe849bd2 [file] [log] [blame]
language: c++
compiler:
- clang
dist: focal
git:
# Dependencies will be fetched via bazel. So no submodules here.
submodules: false
depth: 10
before_install:
- sudo add-apt-repository -y ppa:git-core/ppa
- sudo apt-get update -q
- sudo apt-get install -q -y git
- sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python3 ninja-build cmake gperf memcached apache2-dev python2 npm
- sudo npm install -g @bazel/bazelisk
- wget https://apt.llvm.org/llvm.sh
- chmod +x llvm.sh
- sudo ./llvm.sh 14
- sudo service memcached start
- sudo service redis-server start
env:
global:
- MAKEFLAGS=-j3
- CXX=clang++-14
- CC=clang-14
matrix:
- BIT_FLAG=
script:
- bazel test --test_env=REDIS_PORT=6379 --test_env=MEMCACHED_PORT=11211 -c dbg --test_output=streamed //test/...
after_failure:
- cat build.log
notifications:
email:
- pagespeed-ci@googlegroups.com