Testing Travis

This commit is contained in:
Matteo Paonessa 2017-03-10 18:48:56 +01:00
parent 4c78c8eef8
commit 668ae53cbb
2 changed files with 32 additions and 0 deletions

20
.travis.yml Normal file
View File

@ -0,0 +1,20 @@
language: c
dist: trusty
sudo: required
compiler:
- gcc
- clang
before_install:
- sudo apt-get install libtool autoconf git nasm
- chmod +x install.sh
- ./install.sh
before_script:
- mkdir build
- cd build
- cmake ..
script: make

12
install.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
#libcaesium
git clone https://github.com/Lymphatus/libcaesium.git
cd libcaesium
sudo chmod +x install.sh
./install.sh
mkdir build
cd build
cmake ..
make
sudo make install