appveyor.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. environment:
  2. matrix:
  3. # - JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
  4. - JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
  5. # - JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
  6. # - JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
  7. branches:
  8. only:
  9. - master
  10. - /release-.*/
  11. notifications:
  12. - provider: Email
  13. on_build_success: false
  14. on_build_failure: false
  15. on_build_status_changed: false
  16. install:
  17. - ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
  18. # Download most recent Julia Windows binary
  19. - ps: (new-object net.webclient).DownloadFile(
  20. $env:JULIA_URL,
  21. "C:\projects\julia-binary.exe")
  22. # Run installer silently, output to C:\projects\julia
  23. - C:\projects\julia-binary.exe /S /D=C:\projects\julia
  24. build_script:
  25. # Need to convert from shallow to complete for Pkg.clone to work
  26. - IF EXIST .git\shallow (git fetch --unshallow)
  27. - C:\projects\julia\bin\julia -e "versioninfo();
  28. Pkg.clone(pwd(), \"Reduce\"); Pkg.build(\"Reduce\")"
  29. test_script:
  30. - C:\projects\julia\bin\julia -e "Pkg.test(\"Reduce\")"