Revision 3097c40e99d5bf21ec968921445fd4aae0756637 authored by Tim Besard on 30 June 2016, 21:29:28 UTC, committed by Tim Besard on 01 August 2016, 13:41:56 UTC
1 parent bb55d00
Raw File
appveyor.yml
environment:
#  USEMSVC: "1"
  matrix:
  - ARCH: "i686"
    JULIA_TEST_MAXRSS_MB: 500
  - ARCH: "x86_64"
    JULIA_TEST_MAXRSS_MB: 450

# Only build on master and PR's for now, not personal branches
# Whether or not PR's get built is determined in the webhook settings
branches:
  only:
    - master
    - /release-.*/

skip_commits:
# Add [av skip] to commit messages for docfixes, etc to reduce load on queue
  message: /\[av skip\]/

notifications:
  - provider: Email
    on_build_success: false
    on_build_failure: false
    on_build_status_changed: false

clone_depth: 50

init:
# Carriage returns are bad
  - git config --global core.autocrlf input

cache:
# Cache large downloads to avoid network unreliability
  - i686-4.9.2-release-win32-sjlj-rt_v4-rev3.7z
  - x86_64-4.9.2-release-win32-seh-rt_v4-rev3.7z
  - llvm-3.7.1-i686-w64-mingw32-juliadeps-r09.7z
  - llvm-3.7.1-x86_64-w64-mingw32-juliadeps-r09.7z
  - usr/bin/busybox.exe

build_script:
# If there's a newer build queued for the same PR, cancel this one
  - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
        https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
        Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
        throw "There are newer queued builds for this pull request, failing early." }
# Remove C:\MinGW\bin from the path, the version of MinGW installed on
# AppVeyor is not compatible with the cross-compiled Julia Windows binaries
  - set PATH=%PATH:C:\MinGW\bin;=%
# Remove C:\Perl\bin from the path, otherwise it breaks shasum with an error
# Unable to find Digest::SHA or Digest::SHA::PurePerl
  - set PATH=%PATH:C:\Perl\bin;=%
#  - '"%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64'
  - C:\msys64\usr\bin\sh.exe --login /c/projects/julia/contrib/windows/msys_build.sh

test_script:
  - usr\bin\julia -e "versioninfo()"
  - usr\bin\julia --precompiled=no -e "true"
  - cd test && ..\usr\bin\julia --check-bounds=yes runtests.jl all &&
      ..\usr\bin\julia --check-bounds=yes runtests.jl libgit2-online pkg
back to top