diff --git a/.travis.yml b/.travis.yml index 4b627bd..4d65ac5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,24 +22,24 @@ script: - make -j4 # get and build gtest - #- wget https://googletest.googlecode.com/files/gtest-1.7.0.zip - #- unzip gtest-1.7.0.zip - #- cd gtest-1.7.0/ - #- ./configure CXX=g++-5 CXXFLAGS=-std=c++1y - #- make -j4 - #- sudo cp -a include/gtest /usr/include - #- sudo cp -a lib/.libs/* /usr/lib/ - #- cd .. + - wget https://googletest.googlecode.com/files/gtest-1.7.0.zip + - unzip gtest-1.7.0.zip + - cd gtest-1.7.0/ + - ./configure CXX=g++-5 CXXFLAGS=-std=c++1y + - make -j4 + - sudo cp -a include/gtest /usr/include + - sudo cp -a lib/.libs/* /usr/lib/ + - cd .. # TODO: make and run tests for gtest # build and run tests - #- cd tests/test - #- qmake test.pro -r -spec linux-g++ CONFIG+=release WITH_COV=TRUE LIBS+=/usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.so - #- make -j4 - #- ./test - #- cd ../../ - #- lcov --directory . --capture --output-file coverage.info - #- lcov --remove coverage.info 'tests/*' '/usr/*' --output-file coverage.info - #- lcov --list coverage.info - #- coveralls-lcov --repo-token W5rWWqj02gOXKImGoV7l5jrWCWGe9jrtQ coverage.info + - cd tests/test + - qmake test.pro -r -spec linux-g++ CONFIG+=release WITH_COV=TRUE LIBS+=/usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.so + - make -j4 + - ./test + - cd ../../ + - lcov --directory . --capture --output-file coverage.info + - lcov --remove coverage.info 'tests/*' '/usr/*' --output-file coverage.info + - lcov --list coverage.info + - coveralls-lcov --repo-token W5rWWqj02gOXKImGoV7l5jrWCWGe9jrtQ coverage.info \ No newline at end of file