Skip to content

Commit

Permalink
Re-enable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vt4a2h committed Feb 22, 2016
1 parent bc0363c commit 2baa9ea
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2baa9ea

Please sign in to comment.