diff options
| author | jvoisin | 2015-11-25 12:05:27 +0100 |
|---|---|---|
| committer | jvoisin | 2015-11-25 12:05:27 +0100 |
| commit | 355a1b4781bac74f9c5d15888a71339cd36fb188 (patch) | |
| tree | 9aa303147c6799655fcc3c11f587c45e7d62e8cc | |
| parent | 7146c25d04022702b698ad3013fab4fad362fc68 (diff) | |
Add a .travis.yml file, thanks to Raphaël Vinot
| -rw-r--r-- | .travis.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..fe1de87 --- /dev/null +++ b/.travis.yml | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | language: python | ||
| 2 | |||
| 3 | python: | ||
| 4 | - "2.7" | ||
| 5 | |||
| 6 | virtualenv: | ||
| 7 | system_site_packages: true | ||
| 8 | |||
| 9 | sudo: required | ||
| 10 | |||
| 11 | before_install: | ||
| 12 | - sudo apt-get install python-distutils-extra libimage-exiftool-perl | ||
| 13 | |||
| 14 | install: | ||
| 15 | - pushd .. | ||
| 16 | - pip install --user --upgrade pip | ||
| 17 | - pip install --user --upgrade setuptools | ||
| 18 | - pip install --user coveralls | ||
| 19 | - pip install --user codecov | ||
| 20 | - popd | ||
| 21 | - python setup.py install | ||
| 22 | |||
| 23 | script: | ||
| 24 | - coverage run setup.py test | ||
| 25 | |||
| 26 | after_success: | ||
| 27 | - coveralls | ||
| 28 | - codecov | ||
