Fetch the repository succeeded.
This action will force synchronization from mirrors/sqlite_orm, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
# Defaults
os: linux
dist: focal
matrix:
include:
- name: "[C++14] GCC-9"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-9
- ninja-build
env:
- CC: gcc-9
- CXX: g++-9
- name: "[C++14] GCC-7"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- ninja-build
env:
- CC: gcc-7
- CXX: g++-7
- name: "[C++14] LLVM/Clang (Travis default)"
language: cpp
compiler: clang
addons:
apt:
packages:
- ninja-build
env:
- SQLITE_ORM_OMITS_CODECVT: ON
- name: "[C++14] AppleClang-10.0.1"
os: osx
osx_image: xcode10.2
language: cpp
env:
- SQLITE_ORM_OMITS_CODECVT: ON
addons:
homebrew:
packages:
- ninja
update: true
- name: "[C++14] LLVM/Clang (latest)"
os: osx
osx_image: xcode10.2
addons:
homebrew:
packages:
- llvm
- ninja
update: true
env:
- CPPFLAGS: "-I/usr/local/opt/llvm/include"
- LDFLAGS: "-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"
- CPATH: /usr/local/opt/llvm/include
- LIBRARY_PATH: /usr/local/opt/llvm/lib
- LD_LIBRARY_PATH: /usr/local/opt/llvm/lib
- CC: /usr/local/opt/llvm/bin/clang
- CXX: /usr/local/opt/llvm/bin/clang++
- SQLITE_ORM_OMITS_CODECVT: ON
- name: "[C++14] GCC-6"
os: osx
osx_image: xcode10.2
addons:
homebrew:
packages:
- gcc@6
- ninja
update: true
env:
- CC: gcc-6
- CXX: g++-6
- name: "[C++17] GCC-9"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-9
- ninja-build
env:
- CC: gcc-9
- CXX: g++-9
- SQLITE_ORM_CXX_STANDARD: "-DSQLITE_ORM_ENABLE_CXX_17=ON"
- name: "[C++17] GCC-7"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- ninja-build
env:
- CC: gcc-7
- CXX: g++-7
- SQLITE_ORM_CXX_STANDARD: "-DSQLITE_ORM_ENABLE_CXX_17=ON"
- name: "[C++17] AppleClang-10.0.1"
os: osx
osx_image: xcode10.2
language: cpp
env:
- SQLITE_ORM_OMITS_CODECVT: ON
- SQLITE_ORM_CXX_STANDARD: "-DSQLITE_ORM_ENABLE_CXX_17=ON"
addons:
homebrew:
packages:
- ninja
update: true
- name: "[C++17] LLVM/Clang (latest)"
os: osx
osx_image: xcode10.2
addons:
homebrew:
packages:
- llvm
- ninja
update: true
env:
- CPPFLAGS: "-I/usr/local/opt/llvm/include"
- LDFLAGS: "-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"
- CPATH: /usr/local/opt/llvm/include
- LIBRARY_PATH: /usr/local/opt/llvm/lib
- LD_LIBRARY_PATH: /usr/local/opt/llvm/lib
- CC: /usr/local/opt/llvm/bin/clang
- CXX: /usr/local/opt/llvm/bin/clang++
- SQLITE_ORM_OMITS_CODECVT: ON
- SQLITE_ORM_CXX_STANDARD: "-DSQLITE_ORM_ENABLE_CXX_17=ON"
before_install:
- if [[ ${TRAVIS_OS_NAME} == "osx" ]]; then export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"; fi
# scripts to run before build
before_script:
- if [[ "$CXX" == *"clang"* ]]; then clang --version ; fi
- cd ${TRAVIS_BUILD_DIR}
- mkdir compile && cd compile
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug ${SQLITE_ORM_CXX_STANDARD} -DSQLITE_ORM_OMITS_CODECVT="${SQLITE_ORM_OMITS_CODECVT:OFF}" ..
# build examples, and run tests (ie make & make test)
script:
- cmake --build . --config Debug -- -k 10
- ctest --verbose --output-on-failure -C Debug -j $(nproc)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。