1
0
spogulis no https://github.com/quitesimpleorg/qsmaddy.git synced 2024-06-09 23:11:15 +02:00

Merge pull request #1 from progsource/travis-integration

Travis integration
Šī revīzija ir iekļauta:
Petra Baranski 2017-12-26 11:57:19 +01:00 revīziju iesūtīja GitHub
revīzija 5618c3ff23
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: 4AEE18F83AFDEB23
3 mainīti faili ar 20 papildinājumiem un 2 dzēšanām

18
.travis.yml Parasts fails
Parādīt failu

@ -0,0 +1,18 @@
dist: trusty
sudo: false
language: cpp
compiler: g++
install: export CXX="g++-6"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
script:
- mkdir tmp
- cd tmp
- cmake ..
- make
- ../build/MaddyTests

Parādīt failu

@ -1,4 +1,4 @@
# This project is licensed under the MITlicense. For more information see the
# This project is licensed under the MIT license. For more information see the
# LICENSE file.
cmake_minimum_required(VERSION 2.8)

Parādīt failu

@ -8,7 +8,7 @@
// -----------------------------------------------------------------------------
int main (int argc, char** argv) {
::testing::GTEST_FLAG(throw_on_failure) = false;
::testing::GTEST_FLAG(throw_on_failure) = true;
::testing::InitGoogleMock(&argc, argv);
return RUN_ALL_TESTS();
}