Skip to content
Snippets Groups Projects
tox.ini 1.68 KiB
Newer Older
  • Learn to ignore specific revisions
  • Pierre Augier's avatar
    Pierre Augier committed
    # Tox (http://tox.testrun.org/) is a tool for running tests in
    # multiple virtualenvs. This configuration file will run the test
    # suite on all supported python versions. To use it, "pip install tox"
    # and then run "tox" from this directory.
    # http://tox.readthedocs.io/en/latest/config.html
    #
    # To run tox faster, check out Detox
    # (https://pypi.python.org/pypi/detox), which runs your tox runs in
    # parallel. To use it, "pip install detox" and then run "detox" from
    # this directory.
    [tox]
    envlist =
    
    Ashwin Vishnu's avatar
    Ashwin Vishnu committed
        py{36,37}
        py{36,37}-pythran
    
    Pierre Augier's avatar
    Pierre Augier committed
        codecov
    
    [testenv]
    
    Pierre Augier's avatar
    Pierre Augier committed
    whitelist_externals = make
    
    Pierre Augier's avatar
    Pierre Augier committed
        pip==18.0
    
        fluidpythran>=0.0.6.post0
    
        mako
    
    Ashwin Vishnu's avatar
    Ashwin Vishnu committed
        numpy
    
        matplotlib
        scipy
        psutil
        future
        pyfftw
    
        h5netcdf
    
    Ashwin Vishnu's avatar
    Ashwin Vishnu committed
        xarray
    
        hg+https://bitbucket.org/fluiddyn/fluiddyn#egg=fluiddyn
        hg+https://bitbucket.org/fluiddyn/fluidfft#egg=fluidfft
    
    Ashwin Vishnu's avatar
    Ashwin Vishnu committed
        pythran: git+https://github.com/serge-sans-paille/pythran#egg=pythran[deps]
    
    Pierre Augier's avatar
    Pierre Augier committed
    commands =
    
    Pierre Augier's avatar
    Pierre Augier committed
    
    [testenv:codecov]
    
    passenv = CODECOV_TOKEN
    
    Pierre Augier's avatar
    Pierre Augier committed
    sitepackages = True
    
    Ashwin Vishnu's avatar
    Ashwin Vishnu committed
    deps =
    
    Pierre Augier's avatar
    Pierre Augier committed
        pip==18.0
    
    Ashwin Vishnu's avatar
    Ashwin Vishnu committed
        codecov
        cython
    
    Pierre Augier's avatar
    Pierre Augier committed
    whitelist_externals = make
    
    skip_install = true
    
    Pierre Augier's avatar
    Pierre Augier committed
    commands =
    
        codecov --file .coverage/coverage.xml
    
    Ashwin Vishnu's avatar
    Ashwin Vishnu committed
    
    [testenv:codecov-travis]
    passenv = CI TRAVIS TRAVIS_*
    
    Ashwin Vishnu's avatar
    Ashwin Vishnu committed
    deps =
    
    Pierre Augier's avatar
    Pierre Augier committed
        pip==18.0
    
    Ashwin Vishnu's avatar
    Ashwin Vishnu committed
        codecov
        cython
    
    Ashwin Vishnu's avatar
    Ashwin Vishnu committed
    skip_install = true
    commands =
    
    Ashwin Vishnu's avatar
    Ashwin Vishnu committed
        codecov --file .coverage/coverage.xml
    
    Pierre Augier's avatar
    Pierre Augier committed
        pip==18.0
    
        pylint
    whitelist_externals = make
    usedevelop = False
    skip_install = true
    commands =
        make lint