-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
48 lines (41 loc) · 1.41 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
language: cpp
compiler:
- gcc
- clang
notifications:
email: false
irc:
channels:
- "irc.rizon.net#gtorrent"
on_success: always
on_failure: always
template:
- "%{repository_slug}/%{branch} (%{commit} - %{author}): %{message}"
- "Change view : %{compare_url}"
- "Build details: %{build_url}"
- "Result: %{result}"
cache: apt
before_install:
# Debugging
- lsb_release -sc
# Update repositories to not be shit.
- sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty main universe"
# gtk 3.12 | oh god I have no idea what im doing
- yes "" | sudo add-apt-repository "deb http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu/ trusty main"
- sudo apt-get clean
- sudo apt-get update
# Update dependancies
#- scripts/deps.sh
install:
# Install dependancies
- sudo apt-get install -f -y --force-yes libgtkmm-3.0-dev libglibmm-2.4-dev libnotify-dev libboost-all-dev
# Update g++ to 4.8
- sudo apt-get install -f -y g++
- sudo apt-get install -f -y clang
- wget http://a.pomf.se/eyueqb.tar.xz
- sudo tar -C /usr -xJvf eyueqb.tar.xz
script:
- mkdir -p build/
- cd build/
- cmake ..
- make -j2