checks:
    python:
        code_rating: true
        duplicate_code: true
filter:
    paths: ['napps/*', 'tests/*']
build:
    environment:
        python: 3.6.0
        postgresql: false
        redis: false
    dependencies:
        before:
            - sudo apt-get install --no-install-recommends -y librrd-dev
    tests:
        before:
            - pip install git+git://github.com/kytos/python-openflow.git
            # Can't install kytos directly because it has an HTTP dependency
            - pip install git+git://github.com/diraol/watchdog.git
            - git clone --depth 1 git://github.com/kytos/kytos.git && cd kytos && sed -i 's|.*http.*watchdog.*||' requirements.txt && pip install . && cd - && rm -rf kytos
            - pip install -r requirements.txt -r requirements-dev.txt
        override:
            -
                command: 'python setup.py ci'
                coverage:
                    file: '.coverage'
                    config_file: '.coveragerc'
                    format: 'py-cc'

checks:
    python:
        code_rating: true
        duplicate_code: true
filter:
    paths: ['docs/*', 'napps/*', 'tests/*']
build:
    environment:
        python: 3.6.0
        postgresql: false
        redis: false
    dependencies:
        # "override" to not run inferred "python setup.py install" and
        # "pip install -r requirements.txt"
        override:
            - sudo apt-get install --no-install-recommends -y librrd-dev
    tests:
        before:
            - pip install git+git://github.com/kytos/python-openflow.git
            - pip install git+git://github.com/kytos/kytos.git
            - pip install -r requirements.txt -r requirements-dev.txt
        override:
            -
                command: 'python setup.py ci'
                coverage:
                    file: '.coverage'
                    config_file: '.coveragerc'
                    format: 'py-cc'

Update and improve kytos install in CI
[test] Update and improve kytos install in CI

Fix #283

Trying to fix scrutinizer Python Analysis
