davidhuser/dhis2.py

View on GitHub
.circleci/config.yml

Summary

Maintainability
Test Coverage
version: 2
jobs:
  build:
    branches:
      only:
        - master
        - dev
    docker:
      - image: themattrix/tox
        environment:
          PIPENV_VENV_IN_PROJECT: true

    working_directory: ~/dhis2py

    steps:
    
      - run: apt-get -qq update; apt-get -y install openssh-client git

      - checkout
            
      - run:
          name: install pip, tox, codecov
          command: |
            pip install tox codecov pathlib2

      - run:
          name: run unit tests
          command: |
            tox
      - run:
          name: send code coverage
          command: |
            codecov