summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 1c3aacaed6605e3a00134871ac867736dfafb0fd (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
sudo: false
language: python
matrix:
  include:
    # all supported Python versions
    - python: 2.6
      env:
        - TESTDOCSEXAMPLES=1
    - python: 2.7
      env:
        - TESTDOCSEXAMPLES=1
    - python: 2.7
      env:
        - USEPY=3.1
        - TESTDOCSEXAMPLES=1
    - python: 3.2
      env:
        - TESTDOCSEXAMPLES=1
    - python: 3.3
      env:
        - TESTDOCSEXAMPLES=1
    - python: 3.4
      env:
        - TESTDOCSEXAMPLES=1
    - python: 3.5
      env:
        - TESTDOCSEXAMPLES=1
    
    # minimum libcurl we support
    - python: 2.7
      env:
        - USECURL=7.19.0
        - TESTDOCSEXAMPLES=1
    
    # latest libcurl with each supported SSL backend
    - python: 2.7
      env:
        - USECURL=7.43.0-gssapi
        - USESSL=openssl
        - TESTDOCSEXAMPLES=1
    - python: 2.7
      env:
        - USECURL=7.43.0-gssapi
        - USESSL=libressl
        - USELIBRESSL=2.2.0
    - python: 2.7
      env:
        - USECURL=7.43.0-gssapi
        - USESSL=gnutls
    - python: 2.7
      env:
        - USECURL=7.43.0-gssapi
        - USESSL=nss
    - python: 2.7
      env:
        # this configuration should be without gssapi
        - USECURL=7.43.0
        - USESSL=none
    
    # AVOIDSTDIO tested on one Python version, must be Python 2.x
    - python: 2.7
      env:
        - AVOIDSTDIO=yes
    
    # common distributions:
    # CentOS 6
    - python: 2.6
      env:
        - USECURL=7.19.7-gssapi
        - USESSL=openssl
        - USEOPENSSL=1.0.1e
    # Debian Wheezy
    - python: 2.7
      env:
        - USECURL=7.26.0-gssapi
        - USESSL=gnutls
    # Debian Jessie
    - python: 3.4
      env:
        - USECURL=7.38.0-gssapi
        - USESSL=gnutls
install: >
  ./tests/travis/setup.sh
before_script: >
  ./tests/travis/hack.sh
script: >
  ./tests/travis/run.sh