forked from src-d/role2vec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (42 loc) · 892 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
language: python
sudo: false
dist: trusty
services:
- docker
cache:
directories:
- "$HOME/.cache/pip"
addons:
apt:
packages:
- libboost-all-dev
- libxml2-dev
_install: &_install
- gimme 1.8
- source ~/.gimme/envs/latest.env
- pip install --upgrade pip
- pip install -r requirements.txt codecov
- pip install -e .
_coverage: &_coverage
- SCRIPT="coverage run --concurrency=multiprocessing -m unittest discover && coverage combine"
matrix:
include:
- python: 3.4
env: *_coverage
install: *_install
- python: 3.5
env: *_coverage
install: *_install
- python: 3.6
env: SCRIPT="pep8 --max-line-length=99 ."
install: pip install pep8
- python: 3.6
env: *_coverage
install: *_install
after_success:
- codecov
fast_finish: true
script:
- (eval "$SCRIPT")
notifications:
email: false