-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
74 lines (67 loc) · 1.77 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
language: go
go:
# - 1.4
- 1.5.3
- 1.6
- 1.7
compiler:
- gcc
- clang
install:
- sudo apt-get update
# installing libsodium, needed for toxcore
- git clone https://github.com/jedisct1/libsodium.git
- cd libsodium
- git checkout tags/1.0.3
- ./autogen.sh
- ./configure --prefix=/usr
- make -j3 > /dev/null
- sudo make install > /dev/null
- cd ..
# installing libopus, needed for audio encoding/decoding
- wget http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz > /dev/null
- tar xzf opus-1.1.tar.gz > /dev/null
- cd opus-1.1
- ./configure
- make -j3 > /dev/null
- sudo make install > /dev/null
- cd ..
# installing vpx
- sudo apt-get install yasm
- git clone https://chromium.googlesource.com/webm/libvpx > /dev/null
- cd libvpx
- ./configure --enable-shared > /dev/null
- make -j3 >/dev/null
- sudo make install > /dev/null
- cd ..
# creating librarys' links and updating cache
- sudo ldconfig
- git clone https://github.com/irungentoo/toxcore.git toxcore
- cd toxcore
- autoreconf -i
- ./configure --prefix=/usr --disable-tests --disable-ntox
- make -j2
- sudo make install
- cd ..
- sudo ldconfig > /dev/null
- apt-cache search tox
- apt-cache search opus
- apt-cache search libvpx
script:
- pwd
- go get -u github.com/kitech/go-toxcore
- go get -u github.com/kitech/goplusplus
- go get -u github.com/cyfdecyf/color
- go get -u github.com/bitly/go-simplejson
- go get -u github.com/GianlucaGuarini/go-observable
- go get -u github.com/go-ini/ini
- ln -sv $PWD/../go-toxcore ../../../tox
- ln -sv $PWD/../goplusplus ../../../gopp
- go build -v -x .
notifications:
email: false
# irc:
# channels:
# - "chat.freenode.net#tox-dev"
# on_success: always
# on_failure: always