-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
49 lines (43 loc) · 1.25 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
40
41
42
43
44
45
46
47
48
49
language: cpp
compiler: clang
sudo: required
dist: trusty
group: edge
git:
depth: 1
branches:
except: master
notifications:
email: false
irc:
channels:
on_success: always
on_failure: always
on_start: never
webhooks:
urls: https://webhooks.gitter.im/e/1fcf27221a4243f787d8
on_success: always
on_failure: always
on_start: never
before_install:
- PROJECT_NAME='av-caster'
- DEPS='libfreetype6-dev libgstreamer-plugins-base1.0-dev libx11-dev
libxcursor-dev libxinerama-dev libxrandr-dev'
- # the trusty version of libircclient is incompatible
- LIBIRCCLIENT_MIRROR="http://mirrors.kernel.org/ubuntu/pool/universe/libi/libircclient"
- LIBIRCCLIENT="libircclient1_1.8-2_amd64.deb"
- LIBIRCCLIENTDEV="libircclient-dev_1.8-2_amd64.deb"
- BUILD_DIR=$TRAVIS_BUILD_DIR/Builds/Makefile
script:
- echo "building 64-bit $PROJECT_NAME"
- cd $BUILD_DIR
- sudo apt-get update -qq
- sudo apt-get install -y $DEPS
- wget $LIBIRCCLIENT_MIRROR/$LIBIRCCLIENT
- wget $LIBIRCCLIENT_MIRROR/$LIBIRCCLIENTDEV
- sudo dpkg -i $LIBIRCCLIENT
- sudo dpkg -i $LIBIRCCLIENTDEV
- CFLAGS="-Wno-dangling-else -Wno-deprecated-register" make
after_script:
- echo "build stage ended"
- ls -l $BUILD_DIR/build/