"Fossies" - the Fresh Open Source Software Archive

Member "codespell-2.0.0/.travis.yml" (23 Nov 2020, 1392 Bytes) of package /linux/misc/codespell-2.0.0.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. See also the latest Fossies "Diffs" side-by-side code changes report for ".travis.yml": 1.17.1_vs_2.0.0.

    1 # vim ft=yaml
    2 # Multiple lines can be made a single "virtual line" because of how Travis
    3 # munges each line before executing it to print out the exit status.  It's okay
    4 # for it to be on multiple physical lines, so long as you remember: - There
    5 # can't be any leading "-"s - All newlines will be removed, so use ";"s
    6 
    7 dist: focal
    8 language: python
    9 cache: pip
   10 python:
   11   - 3.5
   12   - 3.6
   13   - 3.7
   14   - 3.8
   15 env:
   16   REQUIRE_ASPELL=true
   17 
   18 addons:
   19   apt:
   20     packages:
   21       - libaspell-dev
   22       - aspell-en
   23 
   24 before_install:
   25     - source tools/travis_tools.sh
   26     - SRC_DIR=$PWD
   27     - cd ~
   28     - virtualenv --python=python venv
   29     - source venv/bin/activate
   30     - python --version  # just to check
   31     - pip install -U pip wheel # upgrade to latest pip find 3.5 wheels; wheel to avoid errors
   32     - retry pip install codecov chardet "setuptools!=47.2.0" docutils
   33     - retry pip install aspell-python-py3
   34     - cd $SRC_DIR
   35     - pip install -e ".[dev]" # install the codespell dev packages
   36 
   37 install:
   38     - python setup.py install
   39 
   40 script:
   41     - codespell --help
   42     - make check
   43     - codespell --check-filenames --skip="./.git/*,*.pyc,./codespell_lib/tests/test_basic.py,./codespell_lib/data/*,./example/code.c,./build/lib/codespell_lib/tests/test_basic.py,./build/lib/codespell_lib/data/*"
   44     # this file has an error
   45     - "! codespell codespell_lib/tests/test_basic.py"
   46 
   47 after_success:
   48     - codecov