diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..fa5e813d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +os: osx + +osx_image: xcode8 + +sudo: false + +language: cpp + +compiler: gcc + +before_install: + brew update + +script: + - brew install gcc libuv libmicrohttpd + - brew upgrade boost + - cmake . -DUV_LIBRARY=/usr/local/lib/libuv.a -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_SSL_LIBRARY=/usr/local/opt/openssl/lib/libssl.a -DOPENSSL_CRYPTO_LIBRARY=/usr/local/opt/openssl/lib/libcrypto.a -DBOOST_ROOT=/usr/local/lib + - make + - cp ./src/config.json . + - ./xmrigDaemon --version + - ./xmrigDaemon --help diff --git a/README.md b/README.md index a2818f44..d03ba86c 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ [![Windows Build status](https://ci.appveyor.com/api/projects/status/l8v7cuuy320a4tpd?svg=true)](https://ci.appveyor.com/project/Bendr0id/xmrigcc) [![Docker Build status](https://img.shields.io/docker/build/bendr0id/xmrigcc.svg)](https://hub.docker.com/r/bendr0id/xmrigcc/) +[![Travis CI OSX Build Status](https://travis-ci.com/Bendr0id/xmrigCC.svg?branch=master)](https://travis-ci.com/Bendr0id/xmrigCC) [![GitHub release](https://img.shields.io/github/release/bendr0id/xmrigCC/all.svg)](https://github.com/bendr0id/xmrigCC/releases) [![Github downloads latest](https://img.shields.io/github/downloads/bendr0id/xmrigCC/latest/total.svg)](https://github.com/bendr0id/xmrigCC/releases) [![Github downloads total](https://img.shields.io/github/downloads/bendr0id/xmrigCC/total.svg)](https://github.com/bendr0id/xmrigCC/releases)