Simplify and rename SSL_set_rbio() and SSL_set_wbio()
[openssl.git] / appveyor.yml
1 platform:
2     - x86
3     - x64
4
5 environment:
6     matrix:
7         - VSVER: 14
8
9 configuration:
10     - plain
11     - shared
12
13 before_build:
14     - ps: >-
15         If ($env:Platform -Match "x86") {
16             $env:VCVARS_PLATFORM="x86"
17             $env:TARGET="VC-WIN32"
18         } Else {
19             $env:VCVARS_PLATFORM="amd64"
20             $env:TARGET="VC-WIN64A"
21         }
22     - ps: >-
23         If ($env:Configuration -Match "shared") {
24             $env:SHARED=""
25         } Else {
26             $env:SHARED="no-shared"
27         }
28     - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
29     - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
30     - mkdir _build
31     - cd _build
32     - perl ..\Configure %TARGET% no-asm %SHARED%
33     - cd ..
34
35 build_script:
36     - cd _build
37     - nmake
38     - cd ..
39
40 test_script:
41     - cd _build
42     - nmake test
43     - cd ..
44
45 # Fake deploy script to test installation
46 deploy_script:
47     - mkdir _install
48     - cd _build
49     - nmake install install_docs DESTDIR=..\_install
50     - cd ..
51
52 notifications:
53     - provider: Email
54       to:
55           - openssl-commits@openssl.org
56       on_build_success: false
57       on_build_failure: true
58       on_build_status_changed: true