2013-02-21 16:53:16 +00:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
2013-02-22 18:14:16 +00:00
|
|
|
- "3.3"
|
2015-12-06 19:48:36 +00:00
|
|
|
- "3.4"
|
|
|
|
- "3.5"
|
2013-02-22 18:13:55 +00:00
|
|
|
# whitelist
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2013-02-21 16:53:16 +00:00
|
|
|
# install some archive programs
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
2016-01-10 07:29:47 +00:00
|
|
|
- sudo apt-get install -qq archmage arj bzip2 lbzip2 pbzip2 cabextract ncompress cpio bsdcpio lzop lcab p7zip p7zip-full zip unzip rpm2cpio binutils arc nomarch unalz lrzip bsdtar rzip zoo xdms orange lzip plzip clzip pdlzip sharutils flac unadf zoo zpaq libchm-bin genisoimage pigz rpm
|
2015-12-06 19:33:26 +00:00
|
|
|
# apt errors:
|
|
|
|
#E: Package 'p7zip-rar' has no installation candidate
|
|
|
|
#E: Package 'rar' has no installation candidate
|
|
|
|
#E: Package 'unrar' has no installation candidate
|
|
|
|
#E: Package 'lha' has no installation candidate
|
|
|
|
#E: Unable to locate package unace-nonfree
|
2016-01-10 07:29:47 +00:00
|
|
|
#E: Unable to locate package zopfli
|
2015-12-06 19:33:26 +00:00
|
|
|
|
2013-02-21 16:53:16 +00:00
|
|
|
# command to install dependencies
|
|
|
|
install:
|
2015-12-09 10:50:44 +00:00
|
|
|
- pip install -r requirements.txt
|
2013-02-21 16:53:16 +00:00
|
|
|
# command to run tests
|
2013-02-27 18:39:09 +00:00
|
|
|
script: make test PYTESTOPTS=-s
|
2013-02-21 16:53:16 +00:00
|
|
|
#notifications:
|
|
|
|
# email: false
|