forked from coala/corobo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (37 loc) · 788 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
42
43
language: python
python:
- 3.6
sudo: required
services:
- docker
cache: pip
addons:
apt:
packages:
- libssl-dev
- python3-dev
before_script:
- pip install coala-bears
- pip install -r requirements.txt
- pip install -r test-requirements.txt
script:
- sed -i.bak '/bears = GitCommitBear/d' .coafile
- coala --non-interactive -V
- python -m pytest
- docker build -t "corobo" .
- docker images
- >
docker run --user root corobo /bin/sh -c "
set -e -x
pip install -r test-requirements.txt;
find -name \"**.pyc\" -delete;
python -m pytest
"
- codecov
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/c15f764f44886af1cf87
on_success: always
on_failure: always