File: .travis.yml

package info (click to toggle)
pydoctor 19.11.0%2Bgit20200303.47424e7-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,400 kB
  • sloc: python: 6,290; makefile: 11; sh: 8
file content (44 lines) | stat: -rw-r--r-- 1,282 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
language: python

matrix:
  include:
    - python: 2.7
      env: TOX_ENV=pyflakes
    - python: pypy
      env: TOX_ENV=test-pypy
    - python: 2.7
      env: TOX_ENV=test-py27-codecov-travis
    - python: 3.6
      env: TOX_ENV=test-py36-codecov-travis
    - python: 2.7
      env: TOX_ENV=twisted-apidoc

  allow_failures:
    # Twisted trunk is broken for now.
    - env: TOX_ENV=twisted-apidoc

install:
    - pip install tox

script: tox -e $TOX_ENV

notifications:
    email: false

# Do an automatic PyPi release when a tag is created.
# http://docs.travis-ci.com/user/deployment/pypi/
# Make sure builds are triggered for any push so that the tag push will also
# trigger a build.
deploy:
  provider: pypi
  # twistedchecker-robot is associated with adi.roiban email address from
  # Gmail. It uses a random password which was not recorded in plain text.
  user: twistedchecker-robot
  password:
    secure: D8Jlbsm8sN1Nz11SgFI7HRxjx0/gLDl66RB101nrhP4Bs4tzK2s9duu7P6nGRIupX5r5czRpSyhPrPQjci3UhcxZf5OTTCd5pamGBd7dv32Usr2aXWhvIfulX+i7jtbOBiWQT7JhxjSjlvyZLW0kka3eClQaD+D4iI64zaBn7y0=
  on:
    tags: true
    # All branches is still required.
    # https://github.com/travis-ci/travis-ci/issues/1675
    all_branches: true
    condition: "$TOX_ENV = test-py27-codecov-travis"