message: running unit tests in macosx and fixed linux+x86 build
diff: @@ -68,6 +68,8 @@ before_install:
  fi
  - if [[ $os_build == "linux" && $os_arch == "x86" ]]; then
  + sudo add-apt-repository http://archive.ubuntu.com/ubuntu/ -y;
  + sudo apt-get update -qq;
  sudo apt-get install -qq libc6-dev-i386;
  sudo apt-get install -qq lib32gcc-5-dev;
  sudo apt-get install -qq lib32stdc++-5-dev;
  @@ -86,6 +88,11 @@ before_install:
  sudo rm /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll;
  fi
  +# install gradle in macOS to run the unit tests
  + - if [ $os_build == "macosx" ]; then
  + brew update > /dev/null && brew install --quiet gradle;
  + fi
  +
  # openssl
  - 'export OPENSSL_NO_OPTS="no-afalgeng no-asan no-async no-autoalginit no-autoerrinit no-bf no-blake2
  no-camellia no-capieng no-cast no-chacha no-cmac no-cms no-comp no-crypto-mdebug
  @@ -223,6 +230,10 @@ script:
  - if [[ $os_build == "windows" && $os_arch == "x86_64" ]]; then
  mv bin/release/windows/x86_64/libjlibtorrent.dll bin/release/windows/x86_64/jlibtorrent.dll;
  fi
  + - if [ $os_build == "macosx" ]; then
  + cp bin/release/macosx/x86_64/libjlibtorrent.dylib .;
  + gradle test;
  + fi
  - $run_readelf
  - cd ..
  