-
Notifications
You must be signed in to change notification settings - Fork 50
/
.travis.yml
62 lines (56 loc) · 1.89 KB
/
.travis.yml
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
dist: xenial
language: python
matrix:
fast_finish: true
include:
- env: TOX_ENV=py27
python: 2.7
- env: TOX_ENV=py34
python: 3.4
- env: TOX_ENV=py35
python: 3.5
- env: TOX_ENV=py36
python: 3.6
- env: TOX_ENV=py37
python: 3.7
- env: TOX_ENV=pypy
python: pypy
install: pip install -r example/requirements/test.txt
before_script:
- sleep 10
script: tox -e $TOX_ENV
after_success:
- pip install coveralls
- coveralls
#language: python
#
## Python versions
#python:
# - "2.6"
# - "2.7"
# - "3.3"
#
## Environments
#env:
# - SIXMIN=true
# - SIXMIN=false
#
## Command to install dependencies
#install:
# - python setup.py install
# - if [[ $TRAVIS_PYTHON_VERSION == '2.6' && $SIXMIN == true ]]; then pip uninstall six -y; fi
# - if [[ $TRAVIS_PYTHON_VERSION == '2.6' && $SIXMIN == true ]]; then pip install six==1.1.0; fi
# - if [[ $TRAVIS_PYTHON_VERSION == '2.6' && $SIXMIN == false ]]; then pip uninstall six -y; fi
# - if [[ $TRAVIS_PYTHON_VERSION == '2.6' && $SIXMIN == false ]]; then pip install six==1.4.1; fi
# - if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $SIXMIN == true ]]; then pip uninstall six -y; fi
# - if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $SIXMIN == true ]]; then pip install six==1.1.0; fi
# - if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $SIXMIN == false ]]; then pip uninstall six -y; fi
# - if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $SIXMIN == false ]]; then pip install six==1.4.1; fi
# - if [[ $TRAVIS_PYTHON_VERSION == '3.3' && $SIXMIN == true ]]; then pip uninstall six -y; fi
# - if [[ $TRAVIS_PYTHON_VERSION == '3.3' && $SIXMIN == true ]]; then pip install six==1.1.0; fi
# - if [[ $TRAVIS_PYTHON_VERSION == '3.3' && $SIXMIN == false ]]; then pip uninstall six -y; fi
# - if [[ $TRAVIS_PYTHON_VERSION == '3.3' && $SIXMIN == false ]]; then pip install six==1.4.1; fi
#
## Command to run tests
#script:
# - python src/transliterate/tests/__init__.py