safe_core 0.5.0

SAFE Core API library
environment:
  global:
    RUST_BACKTRACE: 1
    Features: "use-mock-routing"
  matrix:
    - RUST_VERSION: stable
#    - RUST_VERSION: beta
#    - RUST_VERSION: nightly
branches:
  only:
    - master

clone_depth: 50

install:
  - ps: |
        $url = "https://github.com/maidsafe/QA/raw/master/Powershell%20Scripts/AppVeyor"
        Start-FileDownload "$url/Install%20Rust.ps1" -FileName "Install Rust.ps1"
        Start-FileDownload "$url/Install%20MinGW.ps1" -FileName "Install MinGW.ps1"
        Start-FileDownload "$url/Install%20libsodium.ps1" -FileName "Install libsodium.ps1"
        Start-FileDownload "$url/Build.ps1" -FileName "Build.ps1"
        Start-FileDownload "$url/Run%20Tests.ps1" -FileName "Run Tests.ps1"
        . ".\Install Rust.ps1"
        . ".\Install MinGW.ps1"
        . ".\Install libsodium.ps1"

platform:
  - x86
  - x64

configuration:
#  - Debug
  - Release

# Allowing failures for x86 to accommodate for current libsodium test failure in x86
matrix:
  allow_failures:
    - platform: x86

build_script:
  - ps: . ".\Build.ps1"

test_script:
  - ps: . ".\Run Tests.ps1"