forked from kiroxas/Rogue_BOI_Style
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis_linux.yml
43 lines (36 loc) · 978 Bytes
/
.travis_linux.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
#
# Configuration for linux (ubuntu)
#
# Language choice
language: cpp
compiler:
- clang
- gcc
before_install:
- sudo apt-add-repository ppa:sonkun/sfml-development -y
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
# Depency install
install:
# update gcc
- sudo apt-get install -qq g++-4.8
# lib install
- sudo apt-get install libpthread-stubs0-dev libgl1-mesa-dev libx11-dev
- sudo apt-get install libxrandr-dev libfreetype6-dev libglew1.5-dev
- sudo apt-get install libjpeg8-dev libgpgme11-dev libsndfile1-dev libopenal-dev
- sudo apt-get install libsfml-dev
after_install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
# Build
script : mkdir build && cd build/ && $CXX -v && cmake ../src/ && make
# Choose branchs
branches:
- master
- develop
# configuration of notifications
notifications:
email:
recipients :
on_success: change
on_failure: always