summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 71387d7171cb4c4eac2a2a29872438fc4cf2a522 (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
108
109
110
111
112
113
sudo: false
dist: bionic
language: python
matrix:
  include:
    # all supported Python versions
    - python: 3.9
      env:
        - USECURL=7.68.0-openssl11-gssapi-libssh2
        - USESSL=openssl
        - USEOPENSSL=1.1.1d
        - TESTDOCSEXAMPLES=1
    - python: 3.9
      env:
        - USECURL=7.68.0-openssl10-gssapi-libssh2
        - USESSL=openssl
        - USEOPENSSL=1.0.2u
        - TESTDOCSEXAMPLES=1
    - python: 3.9
      env:
        - USECURL=7.68.0-libressl-gssapi-libssh2
        - USESSL=libressl
        - USELIBRESSL=3.0.2
    - python: 3.9
      env:
        - USECURL=7.68.0-gnutls-gssapi-libssh2
        - USESSL=gnutls
        - TESTDOCSEXAMPLES=1
    - python: 3.9
      env:
        - USECURL=7.68.0-nss-gssapi-libssh2
        - USESSL=nss
        # Examples fail with NSS due to CA certs not being explicitly given
        #- TESTDOCSEXAMPLES=1
    - python: 3.8
      env:
        - USECURL=7.68.0-openssl11-gssapi-libssh2
        - USESSL=openssl
        - USEOPENSSL=1.1.1d
        - TESTDOCSEXAMPLES=1
    - python: 3.8
      env:
        - USECURL=7.68.0-openssl10-gssapi-libssh2
        - USESSL=openssl
        - USEOPENSSL=1.0.2u
        - TESTDOCSEXAMPLES=1
    - python: 3.8
      env:
        - USECURL=7.68.0-libressl-gssapi-libssh2
        - USESSL=libressl
        - USELIBRESSL=3.0.2
    - python: 3.8
      env:
        - USECURL=7.68.0-gnutls-gssapi-libssh2
        - USESSL=gnutls
        - TESTDOCSEXAMPLES=1
    - python: 3.8
      env:
        - USECURL=7.68.0-nss-gssapi-libssh2
        - USESSL=nss
        # Examples fail with NSS due to CA certs not being explicitly given
        #- TESTDOCSEXAMPLES=1
    - python: 3.8
      env:
        # this configuration should be without gssapi
        - USECURL=7.68.0-none
        - USESSL=none
    - python: 3.5
      env:
        - USECURL=7.68.0-openssl10-gssapi-libssh2
        - USESSL=openssl
        - USEOPENSSL=1.0.2u
        - TESTDOCSEXAMPLES=1
    - python: 3.6
      env:
        - USECURL=7.68.0-openssl11-gssapi-libssh2
        - USESSL=openssl
        - USEOPENSSL=1.1.1d
        - TESTDOCSEXAMPLES=1
    - python: 3.6
      env:
        - USECURL=7.68.0-gnutls-gssapi-libssh2
        - USESSL=gnutls
        - TESTDOCSEXAMPLES=1
    - python: 3.6
      env:
        - USECURL=7.68.0-nss-gssapi-libssh2
        - USESSL=nss
        # Examples fail with NSS due to CA certs not being explicitly given
        #- TESTDOCSEXAMPLES=1

    # minimum libcurl we support
    - python: 3.8
      env:
        - USECURL=7.19.0-openssl-gssapi
        - USESSL=openssl
        # Quickstart does not run on this curl because it is not built with
        # SSL support.
        #- TESTDOCSEXAMPLES=1
    
    # libcurl development head with various SSL backends
    - python: 3.8
      env:
        - USECURL=dev-openssl11-gssapi-libssh2
        - USEOPENSSL=1.1.1d
        - USESSL=openssl
install: >
  ./tests/travis/setup.sh
script: >
  ./tests/travis/run.sh
addons:
  apt:
    packages: [libssh2-1, libgnutls28-dev]