forked from apache/incubator-pagespeed-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (33 loc) · 914 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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: