old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import os
  import neblio_ci_libs as nci
  
  build_dir = "build"
  
  packages_to_install = \
  [
  "qt5-default",
  "qt5-qmake",
  "qtbase5-dev-tools",
  "qttools5-dev-tools",
  "build-essential",
  "libboost-dev",
  "libboost-system-dev",
  "libboost-filesystem-dev",
  "libboost-program-options-dev",
  "libboost-thread-dev",
  "libboost-regex-dev",
  "libssl-dev",
  "libdb++-dev",
  "libminiupnpc-dev",
  "libqrencode-dev",
  "libcurl4-openssl-dev",
  "libldap2-dev",
  "libidn11-dev",
  "librtmp-dev"
  ]
  
  nci.install_packages_debian(packages_to_install)
  
  nci.mkdir_p(build_dir)
  os.chdir(build_dir)
  nci.call_with_err_code('qmake "USE_UPNP=1" "USE_QRCODE=0" "RELEASE=1" "NEBLIO_CONFIG += Tests" ../neblio-wallet.pro')
  nci.call_with_err_code("make -j3")
  
  # run tests
  nci.call_with_err_code("./wallet/test/neblio-tests")
  
  print("")
  print("")
  print("Building finished successfully.")
  print("")
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import os
  import neblio_ci_libs as nci
  
  build_dir = "build"
  
  packages_to_install = \
  [
  "qt5-default",
  "qt5-qmake",
  "qtbase5-dev-tools",
  "qttools5-dev-tools",
  "build-essential",
  "libboost-dev",
  "libboost-system-dev",
  "libboost-filesystem-dev",
  "libboost-program-options-dev",
  "libboost-thread-dev",
  "libboost-regex-dev",
  "libssl-dev",
  "libdb++-dev",
  "libminiupnpc-dev",
  "libqrencode-dev",
  "libcurl4-openssl-dev",
  "libldap2-dev",
  "libidn11-dev",
  "librtmp-dev"
  ]
  
  nci.install_packages_debian(packages_to_install)
  
  nci.mkdir_p(build_dir)
  os.chdir(build_dir)
  
  nci.call_with_err_code('python $TRAVIS_BUILD_DIR/build_scripts/CompileOpenSSL-Linux.py')
  nci.call_with_err_code('python $TRAVIS_BUILD_DIR/build_scripts/CompileCurl-Linux.py')
  
  os.environ['PKG_CONFIG_PATH'] = os.path.join(working_dir, 'curl_build/lib/pkgconfig/')
  os.environ['OPENSSL_INCLUDE_PATH'] = os.path.join(working_dir, '/openssl_build/include/')
  os.environ['OPENSSL_LIB_PATH'] = os.path.join(working_dir, 'openssl_build/lib/')
  
  nci.call_with_err_code('qmake "USE_UPNP=1" "USE_QRCODE=0" "RELEASE=1" "NEBLIO_CONFIG += Tests" ../neblio-wallet.pro')
  nci.call_with_err_code("make -j3")
  
  # run tests
  nci.call_with_err_code("./wallet/test/neblio-tests")
  
  print("")
  print("")
  print("Building finished successfully.")
  print("")
  
subject: Build OpenSSL and cURL for neblio-Qt as well