1 Star 0 Fork 0

温暖曙光/sqlpp11-connector-mysql

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.34 KB
一键复制 编辑 原始数据 按行查看 历史
rbock 提交于 2018-01-31 20:30 . Fix travis config
language: cpp
os:
- linux
- osx
sudo: required
dist: trusty
services:
- mysql
addons:
apt:
packages:
#- mysql-server-5.6
#- mysql-client-core-5.6
#- mysql-client-5.6
- libboost-dev
compiler:
- clang
- gcc
env:
- CONFIG=Release
#- CONFIG=Debug
notifications:
email:
on_success: change
on_failure: always
install:
- pwd
- PROJECT_DIR="$PWD"
- BRANCH=`git rev-parse --abbrev-ref HEAD`
- cd ..
- pwd
- git clone https://github.com/HowardHinnant/date
- cd date
- git checkout tags/v2.4
- cd ..
- git clone https://github.com/rbock/sqlpp11
- if [ "$BRANCH" != "master" ]; then
cd sqlpp11
&& git checkout develop
&& cd ..
;
fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew update
&& brew install mysql
&& brew services start mysql
;
fi
- mysql --version
- (while ! mysqladmin -u root status ; do sleep 1; done) # wait for mysql to start
- mysqladmin -u root create sqlpp_mysql
- cd "$PROJECT_DIR"
before_script:
- mkdir build
- cd build
- if [[ "$CXX" = "g++" && "$CONFIG" = "Debug" && "$TRAVIS_OS_NAME" = "linux" ]]; then export CXXFLAGS="--coverage"; fi
- cmake .. -DCMAKE_BUILD_TYPE=$CONFIG
script:
- make VERBOSE=1
- cmake --build . --config $CONFIG
- ctest --output-on-failure
after_script:
- ../coveralls
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/warm_dawn/sqlpp11-connector-mysql.git
git@gitee.com:warm_dawn/sqlpp11-connector-mysql.git
warm_dawn
sqlpp11-connector-mysql
sqlpp11-connector-mysql
master

搜索帮助