forked from upciti/wheel2deb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (28 loc) · 828 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
language: python
dist: xenial
services:
- docker
#before_cache:
# https://github.com/travis-ci/travis-ci/issues/5358
# Save tagged docker images
# - mkdir -p $HOME/docker
# - docker save $(docker images -q) -o $HOME/docker/images.tar
# - ls -lh $HOME/docker
#before_install:
# Load cached docker images
# - docker load -i $HOME/docker/images.tar || true
install:
- pip install coveralls
script:
- make bdist
- make images
- make tests
after_success:
# fix files path or coveralls complains about not finding them (meh)
# the issue is that coverage runs in a container and not coveralls
- sed -i "s#/usr/local/lib/python[0-9\.]*/dist-packages#/data/src#g" .coverage
- sed -i "s#/data#/home/travis/build/parkoview/wheel2deb#g" .coverage
- coveralls
#cache:
# directories:
# - $HOME/docker