-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
44 lines (44 loc) · 1.05 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
language: python
sudo: false
services:
- docker
cache:
directories:
- "$HOME/.cache/pip"
addons:
apt:
packages:
- libsnappy-dev
_install: &_install
- gimme 1.8
- source ~/.gimme/envs/latest.env
- pip install --upgrade pip
- pip install 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="flake8 ."
install: pip install flake8
- python: 3.6
env: *_coverage
install: *_install
after_success:
- codecov
fast_finish: true
before_script:
- docker run -d --privileged -p 9432:9432 --name bblfshd bblfsh/bblfshd
- docker exec -it bblfshd bblfshctl driver install python bblfsh/python-driver
- docker run --name scylla -p 9042:9042 -d scylladb/scylla --developer-mode=1
script:
- (eval "$SCRIPT")
notifications:
email: false