File: .travis.yml

package info (click to toggle)
send2trash 1.6.0~b1%2Bgit20210122.2eb3242-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 184 kB
  • sloc: python: 737; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 890 bytes parent folder | download
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
language: python
matrix:
  include:
    - os: windows
      language: sh
      python: 3
      # Perform the manual steps on windows to install python3
      before_install:
        - choco install python3 --params "/InstallDir:C:\Python"
        - export PATH="/c/Python:/c/Python/Scripts:$PATH"
        - python -m pip install --upgrade pip
        - python -m pip install pywin32
      before_script:
        - export TOXENV=py3-win

    - python: "2.7"
    - python: "3.4"
    - python: "3.5"
    - python: "3.6"
    - python: "3.7"
    - python: "3.8"
    - python: "3.9"
    - python: "nightly"  # 3.10
      before_script:
        - export TOXENV=py310
    - python: "2.7"
      arch: ppc64le
    - python: "3.6"
      arch: ppc64le
        
install:
  - python -m pip install tox
before_script:
  - export TOXENV=$(echo py$TRAVIS_PYTHON_VERSION | tr -d .)
script:
  - python -m tox