Deps for travis ci

This commit is contained in:
boddicheg 2015-09-02 15:06:02 +03:00
parent 1bd6310c5b
commit 9f3ff3fab7
2 changed files with 9 additions and 2 deletions

View File

@ -2,11 +2,12 @@ language: cpp
os: os:
- linux - linux
- osx
sudo: true sudo: true
before_install:
- sh install-deps.sh
install: install:
- cmake . - cmake .
- make - make
- sudo make install

6
install-deps.sh Normal file
View File

@ -0,0 +1,6 @@
wget http://www.cmake.org/files/v2.8/cmake-2.8.12.tar.gz
tar xzf http://www.cmake.org/files/v2.8/cmake-2.8.12.tar.gz
cd cmake-2.8.12
cmake .
make
make install