travis test

This commit is contained in:
Hamed Masafi 2019-06-08 16:43:13 +04:30
parent 357634edb6
commit e659190f4a
2 changed files with 11 additions and 1 deletions

View File

@ -66,7 +66,8 @@ before_script:
- '[[ "$TRAVIS_OS_NAME" != linux || "$PPA" != */opt-* ]] || . /opt/qt$QT/bin/qt$QT-env.sh'
- '[[ "$TRAVIS_OS_NAME" != linux || "$PPA" == */opt-* ]] || export QT_SELECT=qt5'
- mkdir -p "$TRAVIS_BUILD_DIR-build"
- qmake -o "$TRAVIS_BUILD_DIR-build" -r -Wall -Wlogic -Wparser CONFIG+=debug_and_release "$TRAVIS_BUILD_DIR"
- cd "$TRAVIS_BUILD_DIR-build"
- qmake -r -Wall -Wlogic -Wparser CONFIG+=debug_and_release "$TRAVIS_BUILD_DIR/nut.pro"
script:
- make -C "$TRAVIS_BUILD_DIR-build" all

View File

@ -624,6 +624,15 @@ Q_OUTOFLINE_TEMPLATE QString Query<T>::sqlCommand() const
return d->sql;
}
//TODO: complete this class later
//class RawQuery : public Query<void>
//{
//public:
// void setRawCommand(const QString &sql) {
// }
//};
NUT_END_NAMESPACE
#endif // QUERY_H