diff options
| author | jvoisin | 2015-11-25 12:53:19 +0100 |
|---|---|---|
| committer | jvoisin | 2015-11-26 15:55:19 +0100 |
| commit | aafff90ef0871a0fca56c5af1e2a2b08b78f4a98 (patch) | |
| tree | 466d0bdca0f3c06e2bf9fd8e503fb8c850037328 /.travis.yml | |
| parent | 83831def42e3311518f30ae9414f8f518ee0102e (diff) | |
Improves the travis-ci configuration
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index fe1de87..9c96c5c 100644 --- a/.travis.yml +++ b/.travis.yml | |||
| @@ -3,25 +3,30 @@ language: python | |||
| 3 | python: | 3 | python: |
| 4 | - "2.7" | 4 | - "2.7" |
| 5 | 5 | ||
| 6 | addons: | ||
| 7 | apt: | ||
| 8 | packages: | ||
| 9 | - python-distutils-extra | ||
| 10 | - libimage-exiftool-perl | ||
| 11 | - python-gobject | ||
| 12 | - gir1.2-poppler-0.18 | ||
| 13 | - python-pdfrw | ||
| 14 | - python-gi-cairo | ||
| 6 | virtualenv: | 15 | virtualenv: |
| 7 | system_site_packages: true | 16 | system_site_packages: true |
| 8 | 17 | ||
| 9 | sudo: required | ||
| 10 | |||
| 11 | before_install: | ||
| 12 | - sudo apt-get install python-distutils-extra libimage-exiftool-perl | ||
| 13 | |||
| 14 | install: | 18 | install: |
| 15 | - pushd .. | 19 | - pushd .. |
| 16 | - pip install --user --upgrade pip | 20 | - pip install --user --upgrade pip |
| 17 | - pip install --user --upgrade setuptools | 21 | - pip install --user --upgrade setuptools |
| 18 | - pip install --user coveralls | 22 | - pip install --user coveralls |
| 19 | - pip install --user codecov | 23 | - pip install --user codecov |
| 24 | - pip install --user mutagen hachoir_core hachoir_parser | ||
| 20 | - popd | 25 | - popd |
| 21 | - python setup.py install | 26 | - python setup.py install |
| 22 | 27 | ||
| 23 | script: | 28 | script: |
| 24 | - coverage run setup.py test | 29 | - coverage run --source=libmat --omit='*hachoir_editor*' setup.py test |
| 25 | 30 | ||
| 26 | after_success: | 31 | after_success: |
| 27 | - coveralls | 32 | - coveralls |
