---
version: 2
jobs:
  build:
    docker:
      - image: circleci/python:3.7.4
    steps:
      - checkout
      - run:
          name: Install dependendencies
          command: sudo apt-get install python2.7-dev enchant
      - run:
          name: Run tox
          command: sudo pip install tox && tox
      - store_artifacts:
          path: api/build
          destination: api
      - store_artifacts:
          path: docs/build
          destination: docs
      - store_artifacts:
          path: cover
          destination: cover
      - store_artifacts:
          path: coverage.xml
          destination: coverage.xml

---
version: 2
jobs:
  build:
    docker:
      - image: circleci/python:3.7.4
    steps:
      - checkout
      - run:
          name: Install dependendencies
          command: sudo apt-get update && sudo apt-get install python2.7-dev enchant
      - run:
          name: Run tox
          command: sudo pip install tox && tox
      - store_artifacts:
          path: api/build
          destination: api
      - store_artifacts:
          path: docs/build
          destination: docs
      - store_artifacts:
          path: cover
          destination: cover
      - store_artifacts:
          path: coverage.xml
          destination: coverage.xml

Update package list before installing in CircleCI
Update package list before installing in CircleCI

It currently fails:
https://app.circleci.com/jobs/github/collivier/functest/189

Change-Id: I8d3e2f468c6c44fa2b680f0370100d2bcf786601
Signed-off-by: Cédric Ollivier <d48310251a4a484d041bc5d09a9ac4d86d20f793@orange.com>
