mirror of
https://github.com/google/benchmark.git
synced 2025-04-06 09:31:03 +08:00
Change travis config matrix to always run all tests
This commit is contained in:
parent
8a807eaf2c
commit
e46e6cf726
29
.travis.yml
29
.travis.yml
@ -1,29 +1,17 @@
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
env: SUITE=tests BUILD_TYPE=Debug STD=c++0x
|
||||
env: BUILD_TYPE=Debug STD=c++0x
|
||||
- os: linux
|
||||
env: SUITE=tests BUILD_TYPE=Debug STD=c++11
|
||||
env: BUILD_TYPE=Debug STD=c++11
|
||||
- os: linux
|
||||
env: SUITE=tests BUILD_TYPE=Release STD=c++0x
|
||||
env: BUILD_TYPE=Release STD=c++0x
|
||||
- os: linux
|
||||
env: SUITE=tests BUILD_TYPE=Release STD=c++11
|
||||
- os: linux
|
||||
env: SUITE=examples BUILD_TYPE=Debug STD=c++0x
|
||||
- os: linux
|
||||
env: SUITE=examples BUILD_TYPE=Debug STD=c++11
|
||||
- os: linux
|
||||
env: SUITE=examples BUILD_TYPE=Release STD=c++0x
|
||||
- os: linux
|
||||
env: SUITE=examples BUILD_TYPE=Release STD=c++11
|
||||
env: BUILD_TYPE=Release STD=c++11
|
||||
- os: osx
|
||||
env: SUITE=tests BUILD_TYPE=Debug STD=c++11
|
||||
env: BUILD_TYPE=Debug STD=c++11
|
||||
- os: osx
|
||||
env: SUITE=tests BUILD_TYPE=Release STD=c++11
|
||||
- os: osx
|
||||
env: SUITE=examples BUILD_TYPE=Debug STD=c++11
|
||||
- os: osx
|
||||
env: SUITE=examples BUILD_TYPE=Release STD=c++11
|
||||
env: BUILD_TYPE=Release STD=c++11
|
||||
|
||||
language:
|
||||
- cpp
|
||||
@ -35,12 +23,11 @@ before_install:
|
||||
install:
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$STD" = "c++11" ]; then sudo apt-get install -qq gcc-4.8 g++-4.8; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$STD" = "c++11" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90; fi
|
||||
|
||||
|
||||
before_script:
|
||||
- mkdir build && cd build
|
||||
|
||||
script:
|
||||
- cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_CXX_FLAGS="-std=${STD}"
|
||||
- make
|
||||
- if [ "$SUITE" = "tests" ]; then ./test/re_test; fi
|
||||
- if [ "$SUITE" = "examples" ]; then ./test/benchmark_test; fi
|
||||
- make test
|
||||
|
Loading…
Reference in New Issue
Block a user