"Fossies" - the Fresh Open Source Software Archive

Member "Cheetah3-3.2.6.post1/.travis.yml" (22 Feb 2021, 2251 Bytes) of package /linux/www/Cheetah3-3.2.6.post1.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": 3-3.2.6_vs_3-3.2.6.post1.

    1 os: linux
    2 
    3 dist: xenial
    4 
    5 language: python
    6 
    7 python:
    8   - "2.7"
    9 
   10 cache: pip
   11 
   12 addons:
   13   apt:
   14     packages:
   15       - patchelf
   16 
   17 matrix:
   18   include:
   19   - python: "2.7"
   20     env: TOXENV=py27
   21   - python: "3.5"
   22     env: TOXENV=py34 TOXPYTHON=/home/travis/virtualenv/python3.4.8/bin/python3.4
   23   - python: "3.5"
   24     env: TOXENV=py35
   25   - python: "3.6"
   26     env: TOXENV=py36
   27   - python: "3.7"
   28     env: TOXENV=py37
   29   - python: "3.8"
   30     env: TOXENV=py38
   31   - python: "3.9"
   32     env: TOXENV=py39
   33   - python: "2.7"
   34     env: TOXENV=py27-flake8
   35   - python: "3.9"
   36     env: TOXENV=py39-flake8
   37   - os: osx
   38     # No version of Python is available via virtualenv on OS X workers, see https://github.com/travis-ci/travis-ci/issues/2312
   39     language: generic
   40     env: TOXENV=py27
   41   - os: osx
   42     language: generic
   43     env: TOXENV=py35
   44   - os: osx
   45     language: generic
   46     env: TOXENV=py36
   47   - os: osx
   48     language: generic
   49     env: TOXENV=py37
   50   - os: osx
   51     language: generic
   52     env: TOXENV=py38
   53   - os: osx
   54     language: generic
   55     env: TOXENV=py39
   56   - python: "pypy2.7-6.0"
   57     env: TOXENV=pypy
   58 
   59   fast_finish: true
   60 
   61 before_install:
   62   - |
   63     if [ "$TRAVIS_OS_NAME" = 'osx' -a "$TOXENV" != "py27" ]; then
   64         curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
   65         bash Miniconda3-latest-MacOSX-x86_64.sh -b -p "$HOME/miniconda3"
   66         REQUIRED_PYTHON_VERSION=$(python -c "import os; toxenv = os.environ['TOXENV']; print('.'.join(list(toxenv[2:])))")
   67         ~/miniconda3/bin/conda create -y -n "$TOXENV" python="$REQUIRED_PYTHON_VERSION"
   68         . ~/miniconda3/bin/activate "$TOXENV"
   69     fi
   70   - |
   71     if [ "$TRAVIS_OS_NAME" = 'linux' -a "$TOXENV" = "py34" ]; then
   72         # Manually install Python 3.4 to run tox under Python 3.5 and tests with Python 3.4
   73         curl -sSf --retry 5 -o python-3.4.tar.bz2 https://storage.googleapis.com/travis-ci-language-archives/python/binaries/ubuntu/16.04/x86_64/python-3.4.tar.bz2
   74         sudo tar xjf python-3.4.tar.bz2 --directory /
   75     fi
   76 
   77 install:
   78   - travis_retry pip install --upgrade "pip<19.2" "setuptools<44" "tox>=3.15" ppu
   79 
   80 script:
   81   - tox
   82 
   83 before_cache:
   84   - remove-old-files.py -o 180 ~/.cache/pip
   85 
   86 deploy:
   87   provider: script
   88   script: devscripts/CI/travisci-release
   89   on:
   90     tags: true