Adds coverage support
This commit is contained in:
@@ -43,6 +43,7 @@ install:
|
|||||||
fi
|
fi
|
||||||
- sudo pip install pyjavaproperties
|
- sudo pip install pyjavaproperties
|
||||||
- sudo pip install github3.py
|
- sudo pip install github3.py
|
||||||
|
- sudo pip install cpp-coveralls
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
@@ -53,6 +54,7 @@ env:
|
|||||||
script: "tools/travis-script.sh"
|
script: "tools/travis-script.sh"
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
- coveralls
|
||||||
- python tools/upload-binaries.py -t $GH_TOKEN -s $TRAVIS_COMMIT -l core.zip -r Wagic-core.zip -b $TRAVIS_BRANCH
|
- python tools/upload-binaries.py -t $GH_TOKEN -s $TRAVIS_COMMIT -l core.zip -r Wagic-core.zip -b $TRAVIS_BRANCH
|
||||||
- python tools/upload-binaries.py -t $GH_TOKEN -s $TRAVIS_COMMIT -l projects/mtg/Android/bin/Wagic-debug.apk -r Wagic-android.apk -b $TRAVIS_BRANCH
|
- python tools/upload-binaries.py -t $GH_TOKEN -s $TRAVIS_COMMIT -l projects/mtg/Android/bin/Wagic-debug.apk -r Wagic-android.apk -b $TRAVIS_BRANCH
|
||||||
- python tools/upload-binaries.py -t $GH_TOKEN -s $TRAVIS_COMMIT -l projects/mtg/psprelease.zip -r Wagic-psp.zip -b $TRAVIS_BRANCH
|
- python tools/upload-binaries.py -t $GH_TOKEN -s $TRAVIS_COMMIT -l projects/mtg/psprelease.zip -r Wagic-psp.zip -b $TRAVIS_BRANCH
|
||||||
|
|||||||
@@ -19,13 +19,12 @@ else:CONFIG(graphics, graphics|console){
|
|||||||
DEPLOYMENTFOLDERS = folder_01
|
DEPLOYMENTFOLDERS = folder_01
|
||||||
QT += core gui opengl network multimedia
|
QT += core gui opengl network multimedia
|
||||||
QT -= declarative quick qml
|
QT -= declarative quick qml
|
||||||
#maemo5:DEFINES += QT_WIDGET
|
|
||||||
DEFINES += QT_WIDGET
|
DEFINES += QT_WIDGET
|
||||||
unix:!symbian:INCLUDEPATH += /usr/include/GL
|
unix:!symbian:INCLUDEPATH += /usr/include/GL
|
||||||
|
|
||||||
# Please do not modify the following two lines. Required for deployment.
|
QMAKE_CXXFLAGS += -g -fprofile-arcs -ftest-coverage
|
||||||
# !maemo5:include(qml/qmlapplicationviewer/qmlapplicationviewer.pri)
|
QMAKE_LDFLAGS += -g -fprofile-arcs -ftest-coverage
|
||||||
# !maemo5:qtcAddDeployment()
|
LIBS += -lgcov
|
||||||
}
|
}
|
||||||
|
|
||||||
#!android:!symbian:QT += phonon
|
#!android:!symbian:QT += phonon
|
||||||
|
|||||||
Reference in New Issue
Block a user