appveyor fixed [skip ci] (#52)
* update appveyor * update appveyor * update appveyor * update appveyor * update appveyor * update appveyor * update appveyor * update appveyor * remove % from variable name * add cotation to variable call * path correction * path correction * path correction * path correction * removed test script * md fix [slip ci] * ready to merge [skip ci]
This commit is contained in:
parent
12628dcd40
commit
0c5fd789f8
25
README.md
25
README.md
|
|
@ -9,21 +9,20 @@
|
||||||
|
|
||||||
|
|
||||||
## Features:
|
## Features:
|
||||||
|
- Easy to use
|
||||||
- Easy to use
|
- Support PosgtreSQL, MySQL, SQLite and Microsoft Sql Server
|
||||||
- Support PosgtreSQL, MySQL, SQLite and Microsoft Sql Server
|
- Automatically create and update database
|
||||||
- Automatically create and update database
|
- IDE auto complete support, No hard-code nedded
|
||||||
- IDE auto complete support, No hard-code nedded
|
- Table join detect
|
||||||
- Table join detect
|
- Suppor every Qt types. [Full list](doc/datatypes.md)
|
||||||
- Suppor every Qt types. [Full list](doc/datatypes.md)
|
|
||||||
|
|
||||||
## Getting start
|
## Getting start
|
||||||
* [Sample codes](doc/start.md)
|
- [Sample codes](doc/start.md)
|
||||||
* [Shared pointer and regular mode](sharedpointer.md)
|
- [Shared pointer and regular mode](sharedpointer.md)
|
||||||
* [Create database class](database.md)
|
- [Create database class](database.md)
|
||||||
* [Create table class](table.md)
|
- [Create table class](table.md)
|
||||||
* [Using queries](query.md)
|
- [Using queries](query.md)
|
||||||
* [Supported data types](datatypes.md)
|
- [Supported data types](datatypes.md)
|
||||||
|
|
||||||
### Donate
|
### Donate
|
||||||
Butcoin address: 1Dn1WHKkaxanXe4cTGDk4cFRRABxLUpEVj
|
Butcoin address: 1Dn1WHKkaxanXe4cTGDk4cFRRABxLUpEVj
|
||||||
|
|
|
||||||
59
appveyor.yml
59
appveyor.yml
|
|
@ -1,54 +1,55 @@
|
||||||
version: '{branch}-{build}'
|
version: '{branch}-{build}'
|
||||||
|
|
||||||
|
clone_depth: 50
|
||||||
|
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
||||||
|
QTDIR: C:\Qt\5.13.0\msvc2017
|
||||||
|
VCVARS: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat
|
||||||
|
PLATFORM:
|
||||||
|
VER_SUFFIX: win32
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
||||||
|
QTDIR: C:\Qt\5.13.0\msvc2017_64
|
||||||
|
VCVARS: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat
|
||||||
|
PLATFORM:
|
||||||
|
VER_SUFFIX: win64
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||||
|
QTDIR: C:\Qt\5.11\msvc2015
|
||||||
|
VCVARS: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
|
||||||
|
PLATFORM: x86
|
||||||
|
VER_SUFFIX: win32
|
||||||
|
|
||||||
- QTDIR: C:\Qt\5.13.0\mingw73_64
|
- QTDIR: C:\Qt\5.13.0\mingw73_64
|
||||||
- QTDIR: C:\Qt\5.13.0\mingw73_32
|
- QTDIR: C:\Qt\5.13.0\mingw73_32
|
||||||
- QTDIR: C:\Qt\5.13.0\msvc2015_64
|
|
||||||
- QTDIR: C:\Qt\5.13.0\msvc2017
|
|
||||||
- QTDIR: C:\Qt\5.13.0\msvc2017_64
|
|
||||||
- QTDIR: C:\Qt\5.11.3\mingw53_32
|
- QTDIR: C:\Qt\5.11.3\mingw53_32
|
||||||
- QTDIR: C:\Qt\5.10.1\msvc2017_64
|
|
||||||
- QTDIR: C:\Qt\5.10.1\winrt_armv7_msvc2017
|
|
||||||
- QTDIR: C:\Qt\5.10.1\winrt_x86_msvc2017
|
|
||||||
- QTDIR: C:\Qt\5.10.1\winrt_x64_msvc2017
|
|
||||||
- QTDIR: C:\Qt\5.9.7\msvc2017_64
|
|
||||||
- QTDIR: C:\Qt\5.9.7\winrt_armv7_msvc2017
|
|
||||||
- QTDIR: C:\Qt\5.9.7\winrt_x86_msvc2017
|
|
||||||
- QTDIR: C:\Qt\5.9.7\winrt_x64_msvc2017
|
|
||||||
- QTDIR: C:\Qt\5.7.0\mingw53_32
|
|
||||||
- QTDIR: C:\Qt\5.7.0\msvc2015
|
|
||||||
|
|
||||||
configuration:
|
|
||||||
- debug
|
|
||||||
- release
|
|
||||||
|
|
||||||
clone_script:
|
clone_script:
|
||||||
- cmd: git clone -q --recursive --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
|
- cmd: git clone -q --recursive --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
|
||||||
- cmd: git checkout -qf %APPVEYOR_REPO_COMMIT%
|
- cmd: git checkout -qf %APPVEYOR_REPO_COMMIT%
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- '%QTDIR%\bin\qtenv2.bat'
|
- git submodule update --init --recursive
|
||||||
- qmake -v
|
- set PATH=%PATH%;%QTDIR%\bin
|
||||||
- if %QTDIR:_64=%==%QTDIR% ( set ARCH=x86 ) else set ARCH=x64
|
- call "%QTDIR%\bin\qtenv2.bat"
|
||||||
- if %QTDIR:msvc=%==%QTDIR% g++ --version
|
|
||||||
- if %QTDIR:msvc=%==%QTDIR% set make=mingw32-make.exe
|
- if %QTDIR:msvc=%==%QTDIR% set make=mingw32-make.exe
|
||||||
- if %QTDIR:msvc=%==%QTDIR% %make% --version
|
|
||||||
- if not %QTDIR:msvc2013=%==%QTDIR% call "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %ARCH%
|
|
||||||
- if not %QTDIR:msvc2015=%==%QTDIR% call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %ARCH%
|
|
||||||
- if not %QTDIR:msvc=%==%QTDIR% set make=nmake.exe
|
- if not %QTDIR:msvc=%==%QTDIR% set make=nmake.exe
|
||||||
- if not %QTDIR:msvc=%==%QTDIR% %make% /? > nul
|
- if defined VCVARS call "%VCVARS%"
|
||||||
|
- qmake -v
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
# Prepare the out-of-source build directory.
|
# Prepare the out-of-source build directory.
|
||||||
- mkdir %APPVEYOR_BUILD_FOLDER%-build
|
- mkdir %APPVEYOR_BUILD_FOLDER%-build
|
||||||
- qmake -o %APPVEYOR_BUILD_FOLDER%-build -r -Wall -Wlogic -Wparser CONFIG+=%CONFIGURATION% %APPVEYOR_BUILD_FOLDER%
|
- qmake -o %APPVEYOR_BUILD_FOLDER%-build -r -Wall -Wlogic -Wparser %APPVEYOR_BUILD_FOLDER%
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cd %APPVEYOR_BUILD_FOLDER%-build
|
- cd %APPVEYOR_BUILD_FOLDER%-build
|
||||||
- echo 'QT -= gui' >> %APPVEYOR_BUILD_FOLDER%\ci-test-init.pri
|
- echo 'QT -= gui' >> %APPVEYOR_BUILD_FOLDER%\ci-test-init.pri
|
||||||
- '%make%'
|
- '%make%'
|
||||||
|
|
||||||
test_script:
|
#test_script:
|
||||||
# @todo output using Qt's -xunitxml option
|
# - if not %CONFIGURATION%==debug %make% check TESTARGS=-silent
|
||||||
- if not %CONFIGURATION%==debug %make% check TESTARGS=-silent
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue