appveyor.yml
author robin <robin@reportlab.com>
Thu, 12 Jul 2018 09:06:48 +0100
changeset 61 dfd2a9d93871
parent 60 3cb1071c105a
permissions -rw-r--r--
attempt to fix classifiers
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
58
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
     1
environment:
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
     2
  global:
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
     3
    TWINE_USERNAME: MrRLBitBucket
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
     4
    TWINE_PASSWORD:
59
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
     5
      secure: 7XgI2S6O+eY0YtqvwbIk0F5Ism+kJq7vn1S1oSKlx08=
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
     6
    CITOOLS_USER: rl-wheelbuilder
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
     7
    CITOOLS_PASSWORD:
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
     8
      secure: xbq9uLuFeus1N1x8xSF9f5kAYXY4lkvU4UveYwgcMkM=
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
     9
    FIRST: 27
60
3cb1071c105a added python existence checks
robin <robin@reportlab.com>
parents: 59
diff changeset
    10
    LAST: 37-x64
59
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    11
    RLCACHE: windows/pyrxp
58
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    12
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    13
  matrix:
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    14
    - python: 27
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    15
    - python: 27-x64
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    16
    - python: 34
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    17
    - python: 34-x64
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    18
    - python: 35
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    19
    - python: 35-x64
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    20
    - python: 36
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    21
    - python: 36-x64
60
3cb1071c105a added python existence checks
robin <robin@reportlab.com>
parents: 59
diff changeset
    22
    - python: 37
3cb1071c105a added python existence checks
robin <robin@reportlab.com>
parents: 59
diff changeset
    23
    - python: 37-x64
58
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    24
59
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    25
matrix:
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    26
  fast_finish: true
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    27
58
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    28
install:
59
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    29
  - cmd: echo "=============================== Python%PYTHON% install FIRST='%FIRST%' LAST='%LAST%'"
58
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    30
  - "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%"
59
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    31
  - cmd: echo "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 > "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat"
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    32
  - cmd: c:\Python27-x64\python.exe -mvirtualenv myenv
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    33
  - cmd: myenv\scripts\pip.exe install https://bitbucket.org/MrRLBitBucket/rl_ci_tools/get/tip.tar.gz
60
3cb1071c105a added python existence checks
robin <robin@reportlab.com>
parents: 59
diff changeset
    34
  - cmd: if not exist C:\Python%PYTHON%\python.exe ( echo "!!!!!!!!!!!!!!!!!!!!!!! C:\Python%PYTHON%\python.exe not found" && exit 1 )
3cb1071c105a added python existence checks
robin <robin@reportlab.com>
parents: 59
diff changeset
    35
  - cmd: if not exist C:\Python%PYTHON%\scripts\pip.exe ( echo "!!!!!!!!!!!!!!!!!!!!!!! C:\Python%PYTHON%\scripts\pip.exe not found" && exit 1 )
58
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    36
# - pip install -e .
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    37
59
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    38
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    39
58
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    40
build_script:
59
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    41
  - if "%PYTHON%" == "%FIRST%" myenv\scripts\python.exe -mrl_ci_tools clear-cache %RLCACHE%
60
3cb1071c105a added python existence checks
robin <robin@reportlab.com>
parents: 59
diff changeset
    42
  - cmd: if not exist C:\Python%PYTHON%\python.exe ( echo "!!!!!!!!!!!!!!!!!!!!!!! C:\Python%PYTHON%\python.exe not found" && exit 1 )
3cb1071c105a added python existence checks
robin <robin@reportlab.com>
parents: 59
diff changeset
    43
  - cmd: if not exist C:\Python%PYTHON%\scripts\pip.exe ( echo "!!!!!!!!!!!!!!!!!!!!!!! C:\Python%PYTHON%\scripts\pip.exe not found" && exit 1 )
3cb1071c105a added python existence checks
robin <robin@reportlab.com>
parents: 59
diff changeset
    44
  - cmd: c:\Python%PYTHON%\scripts\pip.exe --version
3cb1071c105a added python existence checks
robin <robin@reportlab.com>
parents: 59
diff changeset
    45
  - cmd: c:\Python%PYTHON%\scripts\pip.exe install wheel
3cb1071c105a added python existence checks
robin <robin@reportlab.com>
parents: 59
diff changeset
    46
  - cmd: c:\Python%PYTHON%\python.exe -W ignore setup.py bdist_wheel
59
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    47
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    48
on_success:
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    49
  - echo "=============================== Python%PYTHON% on_success"
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    50
  - if "%PYTHON%" == "%LAST%" myenv\scripts\python.exe -mrl_ci_tools env
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    51
  - myenv\scripts\python.exe -mrl_ci_tools upload-caches --subdir=%RLCACHE% --verbosity=1 dist/*.whl
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    52
  - if "%PYTHON%" == "%LAST%" myenv\scripts\python.exe -mrl_ci_tools email --subject="+++++ APPVEYOR %APPVEYOR_PROJECT_NAME% build succeeded" --faddr=rl-wheelbuilder --body="see https://www.reportlab.com/pypi/cache-info/%RLCACHE%/*/"
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    53
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    54
on_failure:
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    55
  - myenv\scripts\python.exe -mrl_ci_tools email --subject="!!!!! APPVEYOR %APPVEYOR_PROJECT_NAME% build failed" --faddr=rl-wheelbuilder --body="see https://ci.appveyor.com/project/MrRLBitBucket/%PROJECT_NAME%/history"
58
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    56
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    57
#test_script:
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    58
# - python setup.py test -q
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    59
59
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    60
#artifacts:
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    61
#  - path: 'mydist\*.whl'
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    62
#    name: wheel
58
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    63
59
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    64
#deploy_script:
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    65
  #- ps: if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { pip install twine; twine upload dist/* }
2a02cecc87b9 start of appveyoring
robin <robin@reportlab.com>
parents: 58
diff changeset
    66
  #- myenv\scripts\python -mrl_ci_tools upload-packages --verbosity=1 mydist\*.whl
58
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    67
4bc92ac25352 add appveyor.yml
robin <robin@reportlab.com>
parents:
diff changeset
    68
deploy: off