commit 93178057575e087fde90d4060b6ec337e1ec62e6
Author: Christian Ehringfeld <c.ehringfeld@t-online.de>
Date:   Mon Sep 28 20:15:38 2015 +0200

    init test stuff... much more work to do

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ba87b91..3a5c941 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,10 +28,8 @@ build_job:
     - develop
     - master
 
-deployment_job:
-  type: deploy
-  script:
-
-
-  only:
-    - master
+#deployment_job:
+#  type: deploy
+#  script:
+#  only:
+#    - master
diff --git a/.travis.yml b/.travis.yml
index 0c707dd..8ca42fb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,7 @@ env:
 
 
 install:
-  - lsb_release -a
+        #- lsb_release -a
     #  - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
     sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
       && sudo apt-add-repository -y ppa:beineri/opt-qt541
diff --git a/appveyor.yml b/appveyor.yml
index 2407033..f1f92bc 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -9,7 +9,7 @@ install:
 
 build_script:
   # using a header file without MemoryBarrier, that causes the build to fail
-  - qmake EntityManager.pro "CONFIG+=release"
+  - qmake EntityManager.pro
 #  - qmake QOwnNotes.pro -r -spec win32-g++ "CONFIG+=debug"
   - mingw32-make -j8
   # creating the release path
diff --git a/tests/Tests.pri b/tests/Tests.pri
new file mode 100644
index 0000000..c0e4cac
--- /dev/null
+++ b/tests/Tests.pri
@@ -0,0 +1,10 @@
+include(../EntityManager.pri)
+
+QT       += core
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
+
+CONFIG += c++11
+
+QT += testlib
+CONFIG -= app_bundle
+CONFIG += testcase
diff --git a/tests/Tests.pro b/tests/Tests.pro
new file mode 100644
index 0000000..571898d
--- /dev/null
+++ b/tests/Tests.pro
@@ -0,0 +1,2 @@
+TEMPLATE = subdirs
+SUBDIRS = tables
diff --git a/tests/tables/.gitignore b/tests/tables/.gitignore
new file mode 100644
index 0000000..5439c79
--- /dev/null
+++ b/tests/tables/.gitignore
@@ -0,0 +1,73 @@
+# This file is used to ignore files which are generated
+# ----------------------------------------------------------------------------
+
+*~
+*.autosave
+*.a
+*.core
+*.moc
+*.o
+*.obj
+*.orig
+*.rej
+*.so
+*.so.*
+*_pch.h.cpp
+*_resource.rc
+*.qm
+.#*
+*.*#
+core
+!core/
+tags
+.DS_Store
+*.debug
+Makefile*
+*.prl
+*.app
+moc_*.cpp
+ui_*.h
+qrc_*.cpp
+Thumbs.db
+*.res
+*.rc
+/.qmake.cache
+/.qmake.stash
+
+# qtcreator generated files
+*.pro.user*
+
+# xemacs temporary files
+*.flc
+
+# Vim temporary files
+.*.swp
+
+# Visual Studio generated files
+*.ib_pdb_index
+*.idb
+*.ilk
+*.pdb
+*.sln
+*.suo
+*.vcproj
+*vcproj.*.*.user
+*.ncb
+*.sdf
+*.opensdf
+*.vcxproj
+*vcxproj.*
+
+# MinGW generated files
+*.Debug
+*.Release
+
+# Python byte code
+*.pyc
+
+# Binaries
+# --------
+*.dll
+*.exe
+
+
diff --git a/tests/tables/tables.pro b/tests/tables/tables.pro
new file mode 100644
index 0000000..44efaca
--- /dev/null
+++ b/tests/tables/tables.pro
@@ -0,0 +1,12 @@
+include(../Tests.pri)
+TARGET = Tables
+
+
+
+
+SOURCES += \
+    ../models.cpp
+
+HEADERS += \
+    ../models.h
+
