appveyor.yml 820 B

1234567891011121314151617181920212223242526
  1. # Copyright (c) 2012-2016 Sebastien Rombauts (sebastien.rombauts@gmail.com)
  2. # build format
  3. version: "{build}"
  4. # scripts that run after cloning repository
  5. install:
  6. - git submodule update --init googletest
  7. # configurations to add to build matrix
  8. # TODO: VS2010->VS2015 and Win32/Win64 (see https://github.com/google/googletest/blob/master/appveyor.yml)
  9. # TODO: MinGW Makefiles and MSYS Makefiles
  10. configuration:
  11. - Debug
  12. # - Release # CMake can only build the default configuration on Visual Studio
  13. # scripts to run before build
  14. before_build:
  15. - mkdir build
  16. - cd build
  17. - cmake -DSQLITECPP_BUILD_EXAMPLES=ON -DSQLITECPP_BUILD_TESTS=ON -DSQLITECPP_RUN_CPPCHECK=OFF ..
  18. # build examples, and run tests (ie make & make test)
  19. build_script:
  20. - cmake --build .
  21. - ctest --output-on-failure