-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
40 lines (34 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
40
language: cpp
matrix:
include:
- compiler: gcc
env: UPGCC=g++
- compiler: clang
env: UPGCC=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:
# Update repositories to not be shit.
- sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty main universe"
- sudo apt-get update
install:
# Install dependencies
- sudo apt-get install -f -y libgeoip-dev libc6-dev libboost-system-dev $UPGCC
- wget http://a.pomf.se/eyueqb.tar.xz
- sudo tar -C /usr -xJvf eyueqb.tar.xz
script:
- mkdir -p build/
- cd build/
- cmake ..
- make -j`nproc`