forked from plonegovbr/brasil.gov.portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (41 loc) · 812 Bytes
/
.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
services:
- xvfb
language: python
python: 2.7
sudo: false
cache:
directories:
- $HOME/.pylint.d
- eggs
- parts/node
addons:
apt:
packages:
- firefox-geckodriver
matrix:
fast_finish: true
install:
- virtualenv .
- ./bin/pip install -r requirements.txt
- bin/buildout annotate
- bin/buildout
before_script:
- firefox -v
script:
- bin/code-analysis
- bin/test
- bin/pylint --py3k --disable=no-absolute-import src/brasil/gov/portal
after_success:
# XXX: https://github.com/urllib3/urllib3/issues/1456
- pip install urllib3==1.23
- pip install coverage
- coverage run bin/test --layer=\!Acceptance
# Coveralls
- pip install coveralls
- coveralls
# Codacy
- coverage xml
- pip install codacy-coverage
- python-codacy-coverage -r coverage.xml
notifications:
irc: irc.freenode.org#plonegovbr