language: python
python: 3.5
cache:
  directories:
    - $HOME/virtualenv/python3.5.3/

jobs:
  include:
    - stage: unit
      script: pytest --verbose --durations=10 --cov-report html tests/unit

    - stage: journey
      script: travis_wait 40 pytest --verbose --durations=10 --cov-report html tests/journey

    - stage: deploy
      script: skip
      deploy:
        provider: pypi
        user: serenata
        password: $PYPI_PASSWORD
        distributions: "sdist bdist_wheel"
        on:
          branch: master

install:
  - python setup.py develop
  - pip install coveralls pytest pytest-cov

after_success: coveralls

language: python
python: 3.5
cache:
  directories:
    - $HOME/virtualenv/python3.5.3/

jobs:
  include:
    - stage: unit
      script: pytest tests/unit

    - stage: journey
      script: travis_wait 40 pytest tests/journey

    - stage: deploy
      script: skip
      deploy:
        provider: pypi
        user: serenata
        password: $PYPI_PASSWORD
        distributions: "sdist bdist_wheel"
        on:
          branch: master

install:
  - python setup.py develop
  - pip install coveralls pytest pytest-cov

after_success: coveralls

Remove unnecessary arguments for pytest because it already in pytest.ini file
Remove unnecessary arguments for pytest because it already in pytest.ini file
