File: .travis.yml

package info (click to toggle)
pysdl2 0.9.6+dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,204 kB
  • sloc: python: 16,109; makefile: 213; sh: 32
file content (63 lines) | stat: -rw-r--r-- 1,312 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
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
language: python

matrix:
  fast_finish: true
  include:
    - os: linux
      sudo: required
      python: 2.7
    - os: linux
      sudo: required
      python: 3.4
    - os: linux
      sudo: required
      python: 3.5
    - os: linux
      sudo: required
      python: 3.6
    - os: linux
      sudo: required
      python: pypy
    - os: linux
      sudo: required
      python: pypy3
    - os: osx
      language: generic
      env: PYVER=3
    - os: osx
      language: generic
      env: PYVER=2
  allow_failures:
    - os: linux
      sudo: required
      python: pypy
    - os: linux
      sudo: required
      python: pypy3
    - os: osx
      language: generic
      env: PYVER=3
    - os: osx
      language: generic
      env: PYVER=2

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh .ci/install-linux-deps.sh; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sh .ci/install-osx-deps.sh; fi

install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sh .ci/venv-osx.sh; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source pysdl2-venv/bin/activate; fi
  - pip install -U pip
  - pip install -U numpy
  - pip install -U pytest
  - pip install .

env:
  global:
  - SDL_VIDEODRIVER=dummy
  - SDL_AUDIODRIVER=dummy
  - SDL_RENDER_DRIVER=software

script:
  - python -B -m pytest -v