Changeset a69d8cd in sasmodels for .travis.yml


Ignore:
Timestamp:
Jan 26, 2018 7: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
  • .travis.yml

    r2d09df1 ra69d8cd  
    3737- conda update --yes conda 
    3838- conda info -a 
    39 - conda install --yes python=$PY numpy scipy cython mako cffi 
     39# 2018-01-26 PAK: sasmodels uses yield generator for tests, which isn't supported in pytest 4+ 
     40- conda install --yes python=$PY numpy scipy cython mako cffi "pytest<4" 
    4041install: 
    4142- pip install bumps 
     
    4344script: 
    4445- python --version 
    45 - python -m sasmodels.model_test -v dll all 
     46#- python -m sasmodels.model_test -v dll all 
     47- python -m pytest -v 
    4648before_deploy: 
    4749- echo -e "Host danse.chem.utk.edu\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config 
Note: See TracChangeset for help on using the changeset viewer.