-
Notifications
You must be signed in to change notification settings - Fork 73
/
.travis.yml
46 lines (46 loc) · 1.08 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
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
env:
matrix:
- DJANGO_VERSION=1.4
- DJANGO_VERSION=1.7
- DJANGO_VERSION=1.8
- DJANGO_VERSION=1.9
- DJANGO_VERSION=1.10
matrix:
exclude:
- python: "3.3"
env: DJANGO_VERSION=1.4
- python: "3.4"
env: DJANGO_VERSION=1.4
- python: "3.5"
env: DJANGO_VERSION=1.4
- python: "3.5"
env: DJANGO_VERSION=1.7
- python: "3.3"
env: DJANGO_VERSION=1.9
- python: "3.3"
env: DJANGO_VERSION=1.10
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq sloccount
install:
- npm install -g bower
- pip install -q "Django>=${DJANGO_VERSION},<${DJANGO_VERSION}.99"
- pip install .
- pip install -r requirements_dev.txt
- pip install pep8
- pip install coviolations_app
script:
- mkdir /home/travis/test_root/ -p
- export TEST_PROJECT_ROOT=/home/travis/test_root/
- coverage run runtests.py test djangobower > >(tee stdout.log) 2> >(tee test_out >&2)
after_success:
- coverage report
- pip install --quiet python-coveralls
- coveralls
- covio