language: python cache: pip python: - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "3.6" - "nightly" - "pypy-5.4" - "pypy3" matrix: allow_failures: - python: "nightly" before_install: # Install test dependencies - pip install -r requirements-dev.txt - pip install codecov install: - ./ci_tools/retry.sh python updatezinfo.py - if pip freeze | grep dateutil; then pip uninstall -y python-dateutil; fi # Install the libraries - pip install . before_script: # Run the script from something other than the repo root - mkdir build_test - cp -pr dateutil/test build_test/test - cd build_test script: - coverage run -m pytest -v after_success: - codecov sudo: false