mirror of
https://github.com/quitesimpleorg/qsmaddy.git
synced 2024-11-25 16:52:36 +01:00
Merge pull request #1 from progsource/travis-integration
Travis integration
This commit is contained in:
commit
5618c3ff23
18
.travis.yml
Normal file
18
.travis.yml
Normal file
@ -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
|
@ -8,7 +8,7 @@
|
|||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
int main (int argc, char** argv) {
|
int main (int argc, char** argv) {
|
||||||
::testing::GTEST_FLAG(throw_on_failure) = false;
|
::testing::GTEST_FLAG(throw_on_failure) = true;
|
||||||
::testing::InitGoogleMock(&argc, argv);
|
::testing::InitGoogleMock(&argc, argv);
|
||||||
return RUN_ALL_TESTS();
|
return RUN_ALL_TESTS();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user