File: .travis.yml

package info (click to toggle)
lazy-object-proxy 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 372 kB
  • sloc: python: 2,074; ansic: 963; makefile: 15
file content (100 lines) | stat: -rw-r--r-- 3,002 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
language: python
sudo: false
cache: pip
env:
  global:
    - LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
    - SEGFAULT_SIGNALS=all
  matrix:
    - TOXENV=check
    - TOXENV=docs
matrix:
  include:
    - python: '2.6'
      env:
        - TOXENV=2.6-cover,report,extension-coveralls,coveralls,codecov
    - python: '2.6'
      env:
        - TOXENV=2.6-nocov
    - python: '2.7'
      env:
        - TOXENV=2.7-cover,report,extension-coveralls,coveralls,codecov
    - python: '2.7'
      env:
        - TOXENV=2.7-nocov
    - python: '3.3'
      env:
        - TOXENV=3.3-cover,report,extension-coveralls,coveralls,codecov
    - python: '3.3'
      env:
        - TOXENV=3.3-nocov
    - python: '3.4'
      env:
        - TOXENV=3.4-cover,report,extension-coveralls,coveralls,codecov
    - python: '3.4'
      env:
        - TOXENV=3.4-nocov
    - python: '3.5'
      env:
        - TOXENV=3.5-cover,report,extension-coveralls,coveralls,codecov
    - python: '3.5'
      env:
        - TOXENV=3.5-nocov
    - python: '3.6'
      env:
        - TOXENV=3.6-cover,report,extension-coveralls,coveralls,codecov
    - python: '3.6'
      env:
        - TOXENV=3.6-nocov
    - python: 'pypy'
      env:
        - TOXENV=pypy-cover,report,extension-coveralls,coveralls,codecov
    - python: 'pypy'
      env:
        - TOXENV=pypy-nocov
    - python: 'pypy3'
      env:
        - TOXENV=pypy3-cover,report,extension-coveralls,coveralls,codecov
    - python: 'pypy3'
      env:
        - TOXENV=pypy3-nocov
before_install:
  - python --version
  - uname -a
  - lsb_release -a
install:
  - pip install -U tox virtualenv
  - virtualenv --version
  - easy_install --version
  - pip --version
  - tox --version
  - |
    set -ex
    if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then
        (cd $HOME
         wget https://bitbucket.org/squeaky/portable-pypy/downloads/pypy-5.7.1-linux_x86_64-portable.tar.bz2
         tar xf pypy-5.7.1-linux_x86_64-portable.tar.bz2
         pypy-5.7.1-linux_x86_64-portable/bin/pypy -m ensurepip
         pypy-5.7.1-linux_x86_64-portable/bin/pypy -m pip install -U virtualenv)
        export PATH=$HOME/pypy-5.7.1-linux_x86_64-portable/bin/:$PATH
        export TOXPYTHON=$HOME/pypy-5.7.1-linux_x86_64-portable/bin/pypy
    fi
    if [[ $TRAVIS_PYTHON_VERSION == 'pypy3' ]]; then
        (cd $HOME
         wget https://bitbucket.org/squeaky/portable-pypy/downloads/pypy3.5-5.7.1-beta-linux_x86_64-portable.tar.bz2
         tar xf pypy3.5-5.7.1-beta-linux_x86_64-portable.tar.bz2
         pypy3.5-5.7.1-beta-linux_x86_64-portable/bin/pypy3 -m ensurepip
         pypy3.5-5.7.1-beta-linux_x86_64-portable/bin/pypy3 -m pip install -U virtualenv)
        export PATH=$HOME/pypy3.5-5.7.1-beta-linux_x86_64-portable/bin/:$PATH
        export TOXPYTHON=$HOME/pypy3.5-5.7.1-beta-linux_x86_64-portable/bin/pypy3
    fi
    set +x
script:
  - tox -v
after_failure:
  - more .tox/log/* | cat
  - more .tox/*/log/* | cat
notifications:
  email:
    on_success: never
    on_failure: always