2017-07-13 17:09:13 -05:00

25 lines
688 B
YAML

matrix:
include:
- env: TEST_SUITE=distribution
sudo: required
services:
- docker
language: bash
before_install:
- docker build -f dist/ci/Dockerfile -t spec .
script:
- docker run -it spec ./dist/ci/spec.sh
- env: TEST_SUITE=nosetests
sudo: false
language: python
python: 2.7
install:
# needed to install osc from git in requirements.txt
- pip install pycurl urlgrabber
- pip install -r requirements.txt
- pip install python-coveralls
script:
- nosetests --with-coverage --cover-package=osclib --cover-inclusive
after_success:
- coveralls