aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: a70bb8cfa3072f5c8cf231466776c4576c7c51b2 (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
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
101
102
103
104
105
106
107
language: c
os:
    - linux
    - osx
compiler:
    - clang
    - gcc
env:
    # this global section can be removed when
    # https://github.com/travis-ci/travis-ci/issues/1844 is fixed
    global:
        - CI=true
        - TRAVIS=true
    matrix:
        - TOX_ENV=py26
        - TOX_ENV=py27
        - TOX_ENV=py32
        - TOX_ENV=py33
        - TOX_ENV=pypy
        - TOX_ENV=py26 OPENSSL=0.9.8
        - TOX_ENV=py27 OPENSSL=0.9.8
        - TOX_ENV=py32 OPENSSL=0.9.8
        - TOX_ENV=py33 OPENSSL=0.9.8
        - TOX_ENV=pypy OPENSSL=0.9.8
        - TOX_ENV=docs
        - TOX_ENV=pep8
        - TOX_ENV=py3pep8

install:
    - ./.travis/install.sh

script:
    - ./.travis/run.sh

after_success:
    - source ~/.venv/bin/activate && coveralls

notifications:
    irc:
        channels:
            - "irc.freenode.org#cryptography-dev"
        use_notice: true
        skip_join: true

# When building an exclude matrix on Travis you must supply
# the exact variable combinations you want to exclude from
# your build matrix. There is no (current) way to make this
# less verbose.
matrix:
    exclude:
        - os: osx
          env: TOX_ENV=py26
          compiler: gcc
        - os: osx
          env: TOX_ENV=py27
          compiler: gcc
        - os: osx
          env: TOX_ENV=py32
          compiler: gcc
        - os: osx
          env: TOX_ENV=py33
          compiler: gcc
        - os: osx
          env: TOX_ENV=pypy
          compiler: gcc
        - os: osx
          env: TOX_ENV=py26 OPENSSL=0.9.8
          compiler: gcc
        - os: osx
          env: TOX_ENV=py27 OPENSSL=0.9.8
          compiler: gcc
        - os: osx
          env: TOX_ENV=py32 OPENSSL=0.9.8
          compiler: gcc
        - os: osx
          env: TOX_ENV=py33 OPENSSL=0.9.8
          compiler: gcc
        - os: osx
          env: TOX_ENV=pypy OPENSSL=0.9.8
          compiler: gcc
        - os: osx
          env: TOX_ENV=docs
          compiler: gcc
        - os: osx
          env: TOX_ENV=pep8
          compiler: gcc
        - os: osx
          env: TOX_ENV=py3pep8
          compiler: gcc
        - os: osx
          env: TOX_ENV=docs
          compiler: clang
        - os: osx
          env: TOX_ENV=pep8
          compiler: clang
        - os: osx
          env: TOX_ENV=py3pep8
          compiler: clang
        - os: linux
          env: TOX_ENV=docs
          compiler: clang
        - os: linux
          env: TOX_ENV=pep8
          compiler: clang
        - os: linux
          env: TOX_ENV=py3pep8
          compiler: clang