-
Notifications
You must be signed in to change notification settings - Fork 205
/
.travis.yml
34 lines (33 loc) · 1.01 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
language: cpp
dist: focal
compiler:
- gcc
- clang
env:
# - RENDER_SYSTEM=3 BUILD_DEMOS_AND_TOOLS=TRUE # Ogre3D Platform
- RENDER_SYSTEM=4 BUILD_DEMOS_AND_TOOLS=TRUE # OpenGL Platform
- RENDER_SYSTEM=7 BUILD_DEMOS_AND_TOOLS=TRUE # OpenGL3 Platform
branches:
only:
- master
before_install:
- pwd
- git submodule update --init --recursive
- sudo apt-get update -qq
- sudo apt-get install -qq cmake libfreetype6-dev graphviz libgl1-mesa-dev libglew-dev doxygen python cppcheck libsdl2-dev libsdl2-image-dev
before_script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DMYGUI_HIGH_LEVEL_WARNINGS=TRUE -DMYGUI_RENDERSYSTEM=$RENDER_SYSTEM -DMYGUI_BUILD_DEMOS=$BUILD_DEMOS_AND_TOOLS -DMYGUI_BUILD_TOOLS=$BUILD_DEMOS_AND_TOOLS -DMYGUI_BUILD_UNITTESTS=$BUILD_DEMOS_AND_TOOLS ..
script:
- make -j2
after_script:
- cd ..
- python ./Scripts/cppcheck/cppcheck.py
notifications:
email:
recipients:
on_success: change
on_failure: always