-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (37 loc) · 885 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
42
43
language: cpp
before_install:
# We need this line to have g++5 available in apt
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq gcc-5 g++-5
# We want to compile with g++ 5 when rather than the default g++
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90
compiler:
- gcc
before_script:
# Download and install fedlibrary
- git clone git://git.code.sf.net/p/fedlibrary/git fedlibrary
- cd fedlibrary
- mkdir build
- cd build
- cmake ../ -DFORCE_PIC=ON
- make
- sudo make install
- sudo ldconfig
- cd ../../
# Execute cmake configuration
- mkdir build
- cd build
- cmake ..
script: make
# whitelist
branches:
only:
- master
notifications:
email:
recipients:
- fedagostino@gmail.com
on_success: change
on_failure: always