This repository has been archived by the owner on Jul 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
/
.travis.yml
44 lines (42 loc) · 2.85 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: cpp
jobs:
include:
- stage: Builds
name: Bionic AMD64 Build
os: linux
dist: bionic
arch: amd64
before_script: sudo apt-get update
script: ./setup --no-install --silent
- name: Bionic ARM Build
os: linux
dist: bionic
arch: armhf
before_script: sudo apt-get update
script: ./setup --no-install --silent
- name: OSX Build
os: osx
arch: amd64
script: ./setup --no-install --silent
- name: Coverage
os: linux
dist: bionic
arch: amd64
before_script:
- sudo apt-get update
- sudo apt-get install lcov
- INTERCEPTOR_LIB=`find ${TRAVIS_HOME} -name libinterceptor-x86_64.so`
- INTERCEPTOR_LINK=`sed "s/x86_64/haswell/g"<<<"$INTERCEPTOR_LIB"`
- ln -s $INTERCEPTOR_LIB $INTERCEPTOR_LINK
- curl -L https://codecov.io/bash -o codecov.sh
script:
- ./setup --coverage --no-install --silent --debug
- bash codecov.sh -x gcov 2>&1 | grep -v 'has arcs to entry block' | grep -v 'has arcs from exit block'
- sonar-scanner -Dsonar.projectKey=cascade -Dsonar.organization=cascade -Dsonar.sources=src -Dsonar.tests=test -Dsonar.cfamily.build-wrapper-output=build/bw-output -Dsonar.cfamily.gcov.reportsPath=build -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dsonar.exclusions=**/verilog_parser.cc,**/verilog_parser.hh,**/verilog_lexer.cc -Dsonar.cfamily.threads=$(getconf _NPROCESSORS_ONLN) || true
addons:
sonarcloud:
organization: cascade
env:
global:
- secure: HCmvfaRvj3TmSB+KJA3zbIaLEBXKpv3ED4vnayNg93FTBaLtLw0W8XXk8Sa7pOU+u00rE+2tkC52nKdMikscJlcYZm3KBR2Zqh4Br/hnMVIeXCFs9LTrA6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