forked from GLSL-Debugger/GLSL-Debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (39 loc) · 1.07 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
language: cpp
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository -y ppa:kalakris/cmake
- sudo add-apt-repository -y ppa:dns/gnu
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install cmake bison freeglut3-dev libglew-dev gcc-4.7 g++-4.7
# Tests requirements
- sudo apt-get install libcppunit-dev libxmu-dev libxi-dev valgrind
- sudo pip install cpp-coveralls
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.7" CC="gcc-4.7"; fi
before_script:
- mkdir build
- cd build
- cmake -DTESTS=ON ${CMAKE_ARGS} ..
script: make && ctest -VV --output-on-failure
after_success:
- coveralls --gcov-options '\-lp'
env:
- CMAKE_ARGS=""
- CMAKE_ARGS="-DUSE_MESA=ON"
branches:
only:
- master
notifications:
email:
on_success: change
on_failure: always
irc:
channels:
- "chat.freenode.net#glsl-debugger"
template:
- "%{repository}/%{branch} (%{commit} - %{author}): %{message}"
os:
- linux