blob: 79b3608e8f4669a83dfa0f9d63b35f05595e85f4 [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 clang-10
- wget https://github.com/bazelbuild/bazel/releases/download/3.4.1/bazel-3.4.1-installer-linux-x86_64.sh
- chmod +x bazel-3.4.1-installer-linux-x86_64.sh
- ./bazel-3.4.1-installer-linux-x86_64.sh --user
- sudo service memcached start
- sudo service redis-server start
env:
global:
- MAKEFLAGS=-j3
- CXX=clang++-10
- CC=clang-10
matrix:
- BIT_FLAG=
script:
- bazel test --test_env=REDIS_PORT=6379 --test_env=MEMCACHED_PORT=11211 -c dbg //test/...
after_failure:
- cat build.log
notifications:
email:
- pagespeed-ci@googlegroups.com