Skip to content

Commit

Permalink
.travis.yml: use the MinGW build for coverity
Browse files Browse the repository at this point in the history
  • Loading branch information
asamy committed May 24, 2017
1 parent e8f0e01 commit 67aecc6
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,27 @@ matrix:
- os: linux
env:
- B=MinGW
install:
- sudo apt-get install -y gcc-mingw-w64-x86-64 binutils-mingw-w64-x86-64
script:
- make -f Makefile.windows C=1 Q=1
- os: linux
env:
- B=Linux
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt
install:
- sudo apt-get install -y linux-headers-$(uname -r)
- sudo apt-get install -y gcc-mingw-w64-x86-64 binutils-mingw-w64-x86-64
script:
- make
- make -f Makefile.windows C=1 Q=1
addons:
coverity_scan:
project:
name: "asamy/ksm"
description: "Build submitted via Travis CI"
notification_email: f.fallen45@gmail.com
build_command_prepend: "make clean"
build_command: "make"
build_command_prepend: |
cov-configure --compiler=x86_64-w64-mingw32-gcc --comptype=gcc --template
make -f Makefile.windows clean
build_command: "make -f Makefile.windows C=1 Q=1"
branch_pattern: master
- os: linux
env:
- B=Linux
install:
- sudo apt-get install -y linux-headers-$(uname -r)
script:
- make

0 comments on commit 67aecc6

Please sign in to comment.