Added OSX build on Travis

This commit is contained in:
Benoit Blanchon
2016-05-15 09:41:53 +02:00
parent 36d1bb2f52
commit bebd1c400c
3 changed files with 50 additions and 7 deletions

View File

@ -1,6 +1,8 @@
#!/bin/sh -eux
curl -sS https://cmake.org/files/v3.4/cmake-3.4.0-Linux-x86_64.tar.gz | tar xz -C /tmp --strip 1
URL=https://cmake.org/files/v3.4/cmake-3.4.3-Linux-x86_64.tar.gz
curl -sS $URL | tar xz -C /tmp --strip 1
/tmp/bin/cmake -DCMAKE_CXX_COMPILER=$CMAKE_CXX_COMPILER .
make