forked from incluit/OpenVino-For-SmartCity
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
18 lines (15 loc) · 1.08 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
sudo: required
services:
- docker
before_install:
- sudo apt-get update
before_script:
- docker pull openvinoincluit/openvino:latest || true
script:
- docker run --name openvinocont -t -d openvinoincluit/openvino:latest
- docker exec openvinocont git clone https://github.com/incluit/OpenVino-For-SmartCity
- docker exec openvinocont bash -c 'source /opt/intel/computer_vision_sdk/bin/setupvars.sh && cd /app/OpenVino-For-SmartCity && mkdir build && cd build && source /app/OpenVino-For-SmartCity/scripts/setupenv.sh && cmake .. && make'
- docker exec openvinocont bash -c 'cd /app/OpenVino-For-SmartCity/build && build-wrapper-linux-x86-64 --out-dir bw-output make clean all'
- docker exec openvinocont bash -c 'cd /app/OpenVino-For-SmartCity/build && sonar-scanner -Dsonar.projectKey=incluit_OpenVino-For-SmartCity -Dsonar.organization=incluit -Dsonar.sources=. -Dsonar.cfamily.build-wrapper-output=bw-output -Dsonar.host.url=https://sonarcloud.io -Dsonar.projectBaseDir=../src -Dproject.home=../src -Dsonar.login=b4374702344cc6949ebbbafcad6b4ea1d002ba1d'
after_script:
- docker images