"Fossies" - the Fresh Open Source Software Archive

Member "reportlab-3.5.23/appveyor.yml" (31 May 2019, 4391 Bytes) of package /linux/privat/reportlab-3.5.23.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 environment:
    2   global:
    3     TWINE_USERNAME: MrRLBitBucket
    4     TWINE_PASSWORD:
    5       secure: 7XgI2S6O+eY0YtqvwbIk0F5Ism+kJq7vn1S1oSKlx08=
    6     CITOOLS_USER: rl-wheelbuilder
    7     CITOOLS_PASSWORD:
    8       secure: xbq9uLuFeus1N1x8xSF9f5kAYXY4lkvU4UveYwgcMkM=
    9     FIRST: 27
   10     LAST: 37-x64
   11     RLCACHE: windows/reportlab
   12 
   13   matrix:
   14     - python: 27
   15       ARCH: X86
   16 
   17     - python: 27-x64
   18       ARCH: AMD64
   19 
   20     - python: 34
   21       ARCH: X86
   22 
   23     - python: 34-x64
   24       ARCH: AMD64
   25 
   26     - python: 35
   27       ARCH: X86
   28 
   29     - python: 35-x64
   30       ARCH: AMD64
   31 
   32     - python: 36
   33       ARCH: X86
   34 
   35     - python: 36-x64
   36       ARCH: AMD64
   37 
   38     - python: 37
   39       ARCH: X86
   40 
   41     - python: 37-x64
   42       ARCH: AMD64
   43 
   44 matrix:
   45   fast_finish: true
   46 
   47 install:
   48   - cmd: echo "=============================== Python%PYTHON% install FIRST='%FIRST%' LAST='%LAST%'"
   49   - "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%"
   50   - 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"
   51   - cmd: c:\Python27-x64\python.exe -mvirtualenv myenv
   52   - cmd: myenv\scripts\pip.exe --version
   53   - cmd: myenv\scripts\pip.exe install https://bitbucket.org/MrRLBitBucket/rl_ci_tools/get/tip.tar.gz
   54   - cmd: mkdir winstuff
   55   - cmd: myenv\scripts\python.exe -mrl_ci_tools download-resources --dst=winstuff winstuff.zip
   56   - cmd: myenv\scripts\python.exe -c"import zipfile;zipfile.ZipFile('winstuff/winstuff.zip','r').extractall('winstuff')"
   57   - cmd: myenv\scripts\python.exe -mrl_ci_tools info --recur winstuff
   58   - cmd: if not exist C:\Python%PYTHON%\python.exe ( echo "!!!!!!!!!!!!!!!!!!!!!!! C:\Python%PYTHON%\python.exe not found" && exit 1 )
   59   - cmd: if not exist C:\Python%PYTHON%\scripts\pip.exe ( echo "!!!!!!!!!!!!!!!!!!!!!!! C:\Python%PYTHON%\scripts\pip.exe not found" && exit 1 )
   60 
   61 build_script:
   62   - if "%PYTHON%" == "%FIRST%" myenv\scripts\python.exe -mrl_ci_tools clear-cache %RLCACHE%
   63   - cmd: if not exist C:\Python%PYTHON%\python.exe ( echo "!!!!!!!!!!!!!!!!!!!!!!! C:\Python%PYTHON%\python.exe not found" && exit 1 )
   64   - cmd: if not exist C:\Python%PYTHON%\scripts\pip.exe ( echo "!!!!!!!!!!!!!!!!!!!!!!! C:\Python%PYTHON%\scripts\pip.exe not found" && exit 1 )
   65   - set FT_INC=winstuff\include\freetype2
   66   - set FT_LIB=winstuff\libs\%ARCH%\freetype.lib
   67   - cmd: echo "=============================== Python%PYTHON% install FT_INC='%FT_INC%' FT_LIB='%FT_LIB%'"
   68   - cmd: c:\Python%PYTHON%\scripts\pip.exe --version
   69   - cmd: c:\Python%PYTHON%\scripts\pip.exe install wheel==0.31.1
   70   - cmd: c:\Python%PYTHON%\python.exe -W ignore setup.py bdist_wheel
   71 
   72 on_success:
   73   - echo "=============================== Python%PYTHON% on_success"
   74   - if "%PYTHON%" == "%LAST%" myenv\scripts\python.exe -mrl_ci_tools env
   75   - myenv\scripts\python.exe -mrl_ci_tools upload-caches --subdir=%RLCACHE% --verbosity=1 dist/*.whl
   76   - 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%/*/"
   77 
   78 on_failure:
   79   - 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"
   80 
   81 test_script:
   82   - echo "=============================== Python%PYTHON% TEST START"
   83   - c:\Python27-x64\python.exe -mvirtualenv -p C:\Python%PYTHON%\python.exe testenv
   84   - testenv\scripts\pip.exe --version
   85   - testenv\scripts\pip.exe install pillow
   86   - testenv\scripts\pip.exe install --cache-dir=dist --find-links file:dist --pre reportlab
   87   #- myenv\scripts\python.exe -mrl_ci_tools info --recur testenv\Lib\site-packages
   88   #- myenv\scripts\python.exe -mrl_ci_tools info --recur testenv\Lib\site-packages\reportlab\fonts
   89   - set OLDCD=%CD%
   90   - cd tests
   91   - ..\testenv\Scripts\python.exe .\runAll.py
   92   - cd %OLDCD%
   93   - echo "=============================== Python%PYTHON% TEST END"
   94 
   95 #artifacts:
   96 #  - path: 'mydist\*.whl'
   97 #    name: wheel
   98 
   99 #deploy_script:
  100   #- ps: if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { pip install twine; twine upload dist/* }
  101   #- myenv\scripts\python -mrl_ci_tools upload-packages --verbosity=1 mydist\*.whl
  102 
  103 deploy: off