File: .travis.yml

package info (click to toggle)
speedtest-cli 0.3.1-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 128 kB
  • ctags: 47
  • sloc: python: 598; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 1,090 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

python:
 - 2.7

env:
 - TOXENV=py24
 - TOXENV=py25
 - TOXENV=py26
 - TOXENV=py27
 - TOXENV=py31
 - TOXENV=py32
 - TOXENV=py33
 - TOXENV=py34
 - TOXENV=pypy
 - TOXENV=flake8

before_install:
 - if [[ $(echo "$TOXENV" | egrep -c "(py2[45]|py3[14])") != 0 ]]; then sudo add-apt-repository -y ppa:fkrull/deadsnakes; fi;
 - if [[ $(echo "$TOXENV" | egrep -c "(py2[45]|py3[14])") != 0 ]]; then sudo apt-get update -qq; fi;
 - if [[ "$TOXENV" == "py24" ]]; then sudo apt-get install -y python2.4; fi;
 - if [[ "$TOXENV" == "py25" ]]; then sudo apt-get install -y python2.5; fi;
 - if [[ "$TOXENV" == "py31" ]]; then sudo apt-get install -y python3.1; fi;
 - if [[ "$TOXENV" == "py34" ]]; then sudo apt-get install -y python3.4; fi;
 - if [[ "$TOXENV" == "pypy" ]]; then sudo apt-get install -y pypy; fi;

install:
 - if [[ $(echo "$TOXENV" | egrep -c "(py2[45]|py31)") != 0 ]]; then pip install virtualenv==1.7.2 tox==1.3; fi;
 - if [[ $(echo "$TOXENV" | egrep -c "(py2[45]|py31)") == 0 ]]; then pip install tox; fi;

script:
 - tox

notifications:
  email:
    - matt@sivel.net