31 lines
575 B
YAML
31 lines
575 B
YAML
language: cpp
|
|
sudo: false
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- gcc-7
|
|
- g++-7
|
|
- clang-format
|
|
- python
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
script:
|
|
- export CXX=g++-7
|
|
- export CC=gcc-7
|
|
- make
|
|
- make test
|
|
- make everything
|
|
- make amalgamate
|
|
- make clean
|
|
- make SANITIZEGOLD=1 test
|
|
- make clean
|
|
- ARCHFLAGS="-march=nehalem" make
|
|
- ARCHFLAGS="-march=nehalem" make test
|
|
- ARCHFLAGS="-march=nehalem" make everything
|
|
- ./style/run-clang-format.py -r include/ benchmark/ src/ tests/
|
|
|