-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis[outdated].yml
55 lines (49 loc) · 2.21 KB
/
.travis[outdated].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
45
46
47
48
49
50
51
52
53
54
55
language: cpp
dist: focal
sudo: required
env:
global:
- secure: "csEA3tv4+NTJAksoT7t3SmJ3UC1a4IY0NJm3NDjh0pOK48aD1FU2wU9wqqgRNr3yq+63rgPEPKa8ifJE2ejIoiDpGHmvy8Ejg7Dq+sj8tBavr3q9D6y64ZN5RRSUv85oU3uA52mPLxpQkFZz9ppV84frH26B1teE14qogOQdXmE4W7Hy71Ii1zH2ydqQHuyymPpN63TgGV+p5PsOcygrhdwutusntv3IsomWKGq4V5MOTH5bnGBWsl4VwWfDv+awgAhWS+u8A1aqgR32WUvsi0P6PP0fQFJL3JmoUOG2aGWpDpLyxzwOtA8M37PcuULo58MWwt5MnbWDSIoRhUDm8+ELU7vmnY/r0z9MOUdkwIb1TJN9Fyj1PiNKbPJ4muPiVEFmIYJMSzomYjB3HxZZcvW6H+LQYI4SF8PG1oSgIFP4yn/xyW39ukIKr2FhwzggBgDW7s/PySj4Rh6yD5V7pxkoPSK0I0pcSY/9QBlQkbs/U2gGJnZFORtNuHsJuJtEo1hW1u6s1qmKPof7wcvimCO/05jmf4+29iEihoDSj9hg5s5y1su7r3SWlSzpaN990MMumtgBUpf6oglzCCri1vWP43NGul/WMGZaofuLOD1aH9MvrOgyKLmh6V5zgVPvTEOMXXLYyYCLtxLWJLkqPRfOu2daPBGmmOM+pv00mKc="
cache:
apt: true
addons:
apt:
packages:
- cmake
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libgl1-mesa-dev
- libglu1-mesa-dev
coverity_scan:
project:
name: requizm/cs2d_vscode
version: 1.0
description: My Project
notification_email: [email protected]
# Commands to prepare for build_command
# ** likely specific to your build **
build_command_prepend: "(ls ; rm -rf ./build ; git clone https://github.com/microsoft/vcpkg ; ./vcpkg/bootstrap-vcpkg.sh ; mkdir ./build ; cmake . -Bbuild -G 'Unix Makefiles')"
# The command that will be added as an argument to "cov-build" to compile your project for analysis,
# ** likely specific to your build **
build_command: make -C ./build
# Pattern to match selecting branches that will run analysis. We recommend leaving this set to 'coverity_scan'.
# Take care in resource usage, and consider the build frequency allowances per
# https://scan.coverity.com/faq#frequency
branch_pattern: coverity_scan
jobs:
include:
- stage: install vcpkg
script:
- ls
- git clone https://github.com/microsoft/vcpkg
- ./vcpkg/bootstrap-vcpkg.sh
- ls
- stage: generate cmake
script:
- mkdir $TRAVIS_BUILD_DIR/build
- cmake . -Bbuild -G 'Unix Makefiles' -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc
- stage: build
script:
- cmake --build build