machine:
  python:
    version: 3.4.2
dependencies:
  pre:
    - sudo apt-get update
    - sudo apt-get install rpm
    - sudo apt-get install alien
test:
  post:
    - 'python setup.py sdist'
    - 'python setup.py bdist --formats=gztar,zip'
    - 'python setup.py bdist_rpm'
    - 'sudo alien --scripts --to-deb dist/*.rpm'
general:
  artifacts:
    - dist


machine:
  python:
    version: 3.4.2
dependencies:
  pre:
    - sudo apt-get update
    - sudo apt-get install rpm
    - gem install fpm
test:
  post:
    - 'python setup.py sdist'
    - 'python setup.py bdist --formats=gztar,zip'
    - 'python setup.py bdist_rpm'
    - 'cd dist ; fpm -s rpm -t deb -m "Alistair Lynn <arplynn@gmail.com>" *.rpm'
general:
  artifacts:
    - dist


Use FPM to generate .debs
Use FPM to generate .debs
