代码拉取完成,页面将自动刷新
dist: trusty
sudo: required
language: cpp
cache:
- apt
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -qq -y gcc-multilib g++-multilib libc6-i386 libc6-dev-i386 lib32stdc++6 lib32z1 sloccount cppcheck
env:
global:
- TEST_NAME=""
before_script:
- echo ${TEST_NAME}
matrix:
include:
- env: TEST_NAME="gcc (host)"
compiler: gcc
language: cpp
script:
- sudo apt-get install -qq -y gcc-4.9 g++-4.9
- export CC="gcc-4.9"
- export CXX="g++-4.9"
- $CXX --version
- make -s -j2 DEFAULT_TARGET=shared_release
# ARM build disabled until we get GCC 4.9 cross compiler
# - env: TEST_NAME="arm-linux-gnueabi-gcc (target)"
# compiler: gcc
# language: cpp
# script:
# - sudo apt-get install -qq -y g++-arm-linux-gnueabihf
# - arm-linux-gnueabihf-g++ --version
# - make -s -j2 hosttools DEFAULT_TARGET=shared_release
# - POCO_CONFIG=ARM-Linux make -s -j2 DEFAULT_TARGET=shared_release TOOL=arm-linux-gnueabihf
# QA jobs for code analytics and metrics
# static code analysis with cppcheck (we can add --enable=all later)
- env: TEST_NAME="cppcheck"
script: cppcheck --force --quiet --inline-suppr -j2 -iplatform/Data/SQLite/src/sqlite3.c .
# search for TODO within source tree
- env: TEST_NAME="TODO"
script: grep -r TODO *
# search for FIXME within source tree
- env: TEST_NAME="FIXME"
script: grep -r FIXME *
# search for HACK within source tree
- env: TEST_NAME="HACK"
script: grep -r HACK *
# some statistics about the code base
- env: TEST_NAME="sloccount"
script: sloccount .
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。