Fix AppVeyor build and add build status badge and link

This commit is contained in:
Sébastien Rombauts 2015-03-20 21:55:46 +01:00
parent 9d4829ab1e
commit 987f9e465f
2 changed files with 9 additions and 8 deletions

View File

@ -1,7 +1,8 @@
SQLiteC++
---------
![SQLiteCpp build status](https://api.travis-ci.org/SRombauts/SQLiteCpp.png "SQLiteCpp build status")
[![Travis CI Linux Build Status](https://travis-ci.org/SRombauts/SQLiteCpp.svg)](https://travis-ci.org/SRombauts/SQLiteCpp "Travis CI Linux Build Status")
[![AppVeyor Windows Build status](https://ci.appveyor.com/api/projects/status/github/SRombauts/SQLiteCpp?svg=true)](https://ci.appveyor.com/project/SbastienRombauts/SQLiteCpp "AppVeyor Windows Build status")
SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
@ -118,8 +119,12 @@ You can either recompile it yourself (seek help online) or you can comment out t
This project is continuously tested under Ubuntu Linux with the gcc and clang compilers
using the Travis CI community service with the above CMake building and testing procedure.
It is also tested in the same way under Windows Server 2012 R2 with Visual Studio 2013 compiler
using the AppVeyor countinuous integration service.
Detailed results can be seen online: https://travis-ci.org/SRombauts/SQLiteCpp
Detailed results can be seen online:
- https://travis-ci.org/SRombauts/SQLiteCpp
- https://ci.appveyor.com/project/SbastienRombauts/SQLiteCpp
### Thread-safety

View File

@ -6,9 +6,7 @@ version: "{build}"
# scripts that run after cloning repository
# NOTE : not updating submodule as cloning googletest does not work on AppVeyor
install:
- sudo apt-get update -qq
- sudo apt-get install -qq cppcheck
# - git submodule update --init --recursive
# - git submodule update --init googletest
# configurations to add to build matrix
configuration:
@ -16,13 +14,11 @@ configuration:
- Release
# scripts to run before build
# using a symbolic link to get the "make test" to work as if launched from the root directorys
# NOTE : no unit tests as cloning googletest does not work on AppVeyor
before_build:
- mkdir build
- cd build
- cmake -DSQLITECPP_BUILD_EXAMPLES=ON -DSQLITECPP_BUILD_TESTS=OFF -DSQLITECPP_RUN_DOXYGEN=OFF ..
- ln -s ../examples examples
- cmake -DSQLITECPP_BUILD_EXAMPLES=ON -DSQLITECPP_BUILD_TESTS=OFF -DSQLITECPP_RUN_CPPCHECK=OFF -DSQLITECPP_RUN_DOXYGEN=OFF ..
# build examples, and run tests (ie make & make test)
build_script: