forked from OpenVR-Advanced-Settings/OpenVR-AdvancedSettings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (35 loc) · 974 Bytes
/
.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
language: cpp
dist: xenial
matrix:
include:
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- QMAKE_SPEC=linux-g++
compiler: gcc
- os: linux
env:
- QMAKE_SPEC=linux-clang
compiler: clang
- os: linux
env:
- USE_TIDY=TRUE
compiler: clang
before_install:
- chmod +x ./build_scripts/linux/build_linux.sh
- chmod +x ./build_scripts/linux/format.sh
- chmod +x ./build_scripts/linux/run-clang-tidy.sh
- chmod +x ./build_scripts/linux/verify_formatting.sh
- python ./build_scripts/run-clang-format.py ./src -r --color always
install:
- sudo add-apt-repository ppa:kubuntu-ppa/backports -y
- sudo apt-get update -qq
- sudo apt-get install build-essential qtbase5-dev qttools5-dev qtdeclarative5-dev qtmultimedia5-dev qt5-default qttools5-dev-tools
- sudo apt-get install bear clang-tidy
script:
- ./build_scripts/linux/build_linux.sh