summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: ba8189c8128e91d0f9b8c7e16da5445e82197f9a (plain)
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
language: python
# Run on Travis CI's docker infrastructure
sudo: false

matrix:
  include:
    - python: 3.6
      env: TOXENV=py36 CC=gcc
    - python: 3.6
      env: TOXENV=py36 CC=gcc
    - python: 3.7
      env: TOXENV=py37 CC=gcc
      dist: xenial
      sudo: true
    - python: 3.8
      env: TOXENV=py38 CC=gcc
      dist: xenial
      sudo: true
    - python: pypy3.6-7.3.1
      env: TOXENV=pypy3 CC=gcc
    - python: 3.6
      env: TOXENV=py36 CC=clang
    - python: 3.7
      env: TOXENV=py37 CC=clang
      dist: xenial
      sudo: true
    - python: 3.8
      env: TOXENV=py38 CC=clang
      dist: xenial
      sudo: true
    - python: pypy3.6-7.3.1
      env: TOXENV=pypy3 CC=clang
    - python: 3.8
      env: TOXENV=pep8
    - python: 3.8
      env: TOXENV=mypy
    - env: TOXENV=packaging
    - python: 3.8
      env: TOXENV=py38 CC=gcc
      dist: focal
      arch: arm64-graviton2
      virt: lxd
      group: edge
    - python: 3.8
      env: TOXENV=py38 CC=clang
      dist: focal
      arch: arm64-graviton2
      virt: lxd
      group: edge

install: .travis/install.sh

script: .travis/run.sh

branches:
  only:
    - master
    - /\d+\.\d+\.x/
    - /\d+\.\d+(\.\d+)?/

notifications:
irc:
  channels:
    # This is set to a secure variable to prevent forks from notifying the
    # IRC channel whenever they fail a build. This can be removed when travis
    # implements https://github.com/travis-ci/travis-ci/issues/1094.
    # The value encrypted here was created via
    # travis encrypt "irc.freenode.org#cryptography-dev"
    - secure: "SYCVjMUGx5sJ5iEdgEz1iUG6QC7Ep1CGlAatbW8AmNTCurnJHN1Ezm1ix3mbGDevdeyQC/eC1iOXEEj6jhImUziUAG1YtpgHsJ1H3J5MNU/WUNuj6TGESa9iMq6K2cAAIWGvDR0hx4tO5/p09GevL9GVmc2IelUKuGKNkOVRGrI="
  use_notice: true
  skip_join: true