File: .travis.yml

package info (click to toggle)
wand 0.4.4-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,848 kB
  • sloc: python: 7,455; makefile: 124
file content (35 lines) | stat: -rw-r--r-- 1,004 bytes parent folder | download | duplicates (2)
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
language: python
sudo: false
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- 3.5
- pypy
- pypy3
env:
- secure: "EhG2uSD2m1eGxuL2HeQewJJx7MVL4WpjrxyfiUBEgsApemD1yKJPjUnLwAyd\nbPi5HJx5ySm1TTRSvj6/yP85YLYTaJHA8OabKk7p0wFW294qcrYIDGovU7NL\n3YOqZmqN+S3XOBGFCOnByxE+pcxxWW/3/I09EgeW7D6tBPh67G0="
install:
- echo $TRAVIS_PYTHON_VERSION
- pip install pytest pytest-xdist pytest-capturelog memory_profiler==0.40 psutil coveralls flake8
- >
    if [[ "$TRAVIS_PYTHON_VERSION" != "3.2" && "$TRAVIS_PYTHON_VERSION" != "pypy" && "$TRAVIS_PYTHON_VERSION" != "pypy3" ]]; then
      pip install 'pytest-cov>=1.8.0';
    fi
- pip install -e .
script:
- python -mwand.version --verbose
- >
    if [[ "$TRAVIS_PYTHON_VERSION" == "3.2" || "$TRAVIS_PYTHON_VERSION" == "pypy" || "$TRAVIS_PYTHON_VERSION" == "pypy3" ]]; then
      py.test --boxed --durations=20;
    else
      py.test --cov wand --boxed --durations=20;
    fi
- >
    if [[ "$TRAVIS_PYTHON_VERSION" != "2.6" ]]; then
      flake8 .;
    fi
after_success:
- coveralls