forked from mas-bandwidth/netcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (32 loc) · 916 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
sudo: required
dist: trusty
language: c
compiler:
- clang
- gcc
install:
- wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha13/premake-5.0.0-alpha13-linux.tar.gz -O /tmp/premake5.tar.gz
- tar -zxvf /tmp/premake5.tar.gz
- wget https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gz -O /tmp/libsodium.tar.gz
- pushd .
- cd /tmp
- tar -zxvf /tmp/libsodium.tar.gz
- cd libsodium-1.0.16
- ./configure
- make
- sudo make install
- popd
- wget https://github.com/ARMmbed/mbedtls/archive/mbedtls-2.1.5.tar.gz -O /tmp/mbedtls.tar.gz
- pushd .
- cd /tmp
- tar -zxvf mbedtls.tar.gz
- cd mbedtls-mbedtls-2.1.5
- cmake .
- make
- sudo make install
- popd
- sudo ldconfig
script:
- ./premake5 gmake
- make clean && make all config=debug_x64 && ./bin/test
- make clean && make all config=release_x64 && ./bin/test