File: .travis.yml

package info (click to toggle)
python-ws4py 0.6.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 676 kB
  • sloc: python: 4,552; makefile: 137; javascript: 96
file content (21 lines) | stat: -rw-r--r-- 520 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
language: python

python:
  - 2.7
  - 3.6
  - 3.7
  - 3.8
  - 3.9

before_install:
  - sudo apt-get install python-dev libevent-dev
  - pip install Cython

install:
  - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r requirements/py2kreqs.txt; fi
  - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r requirements/py3kreqs.txt; fi
  - python setup.py install

script:
  - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then py.test -v; fi
  - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then py.test -v; fi