language: python
python:
  - "2.7"
  - "3.8"

# command to install dependencies
install:
  - "pip install --upgrade flake8>=3.7.9 pyparsing==2.4.4 pytest==4.6.6"
  # install modules shipped with pythonista
  - "pip install -r tests/pythonista_modules.txt"
before_script:
  # stop the build if there are Python syntax errors or undefined names
  - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
  # exit-zero treats all errors as warnings.
  - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics
  # show pytest version
  - pytest --version
# command to run tests
script: pytest tests/ --ignore=tests/system/data/ --showlocals --verbose --show-capture=all --log-level=debug


language: python
python:
  - "2.7"
  - "3.6"
  - "3.8"

# command to install dependencies
install:
  - "pip install --upgrade flake8>=3.7.9 pyparsing==2.4.4 pytest==4.6.6"
  # install modules shipped with pythonista
  - "pip install -r tests/pythonista_modules.txt"
before_script:
  # stop the build if there are Python syntax errors or undefined names
  - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
  # exit-zero treats all errors as warnings.
  - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics
  # show pytest version
  - pytest --version
# command to run tests
script: pytest tests/ --ignore=tests/system/data/ --showlocals --verbose --show-capture=all --log-level=debug


Test on Python 2.7, 3.6, 3.8
Test on Python 2.7, 3.6, 3.8

Pythonista currently uses 2.7.12 and 3.6.1 but lets also test on Python 3.8 to ensure compatibility