我有一个 travis(.travis.yml) 的 YAML 文件
language: cpp
compiler:
- gcc
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "*my secured token for coverity"
addons:
coverity_scan:
project:
name: "*username/project"
description: "Build submitted via Travis CI"
notification_email: *my email
build_command_prepend: "mkdir build && cd build && cmake -G "Unix Makefiles" ../project/"
build_command: "make -j4"
branch_pattern: master
script: mkdir build && cd build && cmake -G "Unix Makefiles" ../project/ && make
出于某种原因,这不会解析 travis 的一面......老实说,我不知道是什么破坏了 yaml......