Changeset a69d8cd in sasmodels for appveyor.yml


Ignore:
Timestamp:
Jan 26, 2018 9:13:22 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
ecb485c
Parents:
49284e1
Message:

add support for pytest and use it on travis/appveyor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • appveyor.yml

    rfefc185 ra69d8cd  
    4444 
    4545install: 
    46     # Set the CONDA_NPY, although it has no impact on the actual build.  
     46    # Set the CONDA_NPY, although it has no impact on the actual build. 
    4747    # We need this because of a test within conda-build. 
    4848    - cmd: set CONDA_NPY=19 
     
    6868    #- cmd: conda install --yes --quiet obvious-ci 
    6969    # 2018-01-19 PAK: skipping toolchain cython and cffi (these were for pyopencl?) 
    70     - cmd: conda install --yes --quiet numpy scipy 
     70    # 2018-01-26 PAK: sasmodels uses yield generator for tests, which isn't supported in pytest 4+ 
     71    - cmd: conda install --yes --quiet numpy scipy "pytest<4" 
    7172    # 2018-01-19 PAK: skipping pyopencl; this would be needed for deploy but maybe not for test 
    7273    #- cmd: conda install --yes --channel conda-forge pyopencl 
     
    8687    #- "%CMD_IN_ENV% python -m sasmodels.model_test dll all" 
    8788    #- cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd python -m sasmoels.model_test dll all 
    88     - python -m sasmodels.model_test dll all 
     89    #- python -m sasmodels.model_test dll all 
     90    #- nosetests -v sasmodels/*.py 
     91    - python -m pytest -v 
Note: See TracChangeset for help on using the changeset viewer.