1
0
mirror of https://github.com/google/cpu_features.git synced 2025-04-27 23:22:31 +02:00

Adding travis ci configuration.

This commit is contained in:
Guillaume Chatelet 2018-02-01 11:42:40 +01:00
parent 8e58ef0d2b
commit ebab23ac9a
2 changed files with 18 additions and 0 deletions

17
.travis.yml Normal file
View File

@ -0,0 +1,17 @@
sudo: required
dist: trusty
language: c
os:
- linux
- osx
compiler:
- clang
- gcc
script:
- cmake --version
- cmake -H. -Bbuild
- cmake --build build --target all
- CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test

1
BUILD
View File

@ -19,6 +19,7 @@ filegroup(
name = "opensource_filegroup",
srcs = [
".clang-format",
".travis.yml",
"BUILD",
"CMakeLists.txt",
"CMakeLists.txt.in",