language: python
os: linux
dist: bionic

jobs:
  include:
  # Linux jobs
  - python: 3.7.0  # earliest
  - python: 3.7
  - python: 3.8
  - python: 3.8-dev
  # Non-linux jobs; Python configured below
  - os: osx
    language: objective-c  # Only language provided
    # Homebrew installs Python to this location
    env: PATH=/usr/local/opt/python@3.8/bin:$PATH
  - os: windows
    language: shell
    # Chocolatey installs Python to this location
    env: PATH=/c/Python38:/c/Python38/Scripts:$PATH


install:
# Install Python & pip on macOS and Windows
- |-
  case $TRAVIS_OS_NAME in
    osx)
      brew update --quiet
      brew install python@3.8 ;;
    windows)
      choco install --no-progress python3
      python -m pip install --upgrade pip ;;
  esac
# All platforms
- pip3 install --upgrade pip
- pip3 install --requirement requirements.txt
- pip3 install --editable .[cache,docs,tests]

script: >
  pytest
  -rfE
  --verbose
  --remote-data
  --cov pandasdmx --cov-report term-missing

after_success:
- coverage combine
- codecov

notifications:
  email: false

language: python
os: linux
dist: bionic

jobs:
  include:
  # Linux jobs
  - python: 3.7.0  # earliest
  - python: 3.7
  - python: 3.8
  - python: 3.8-dev
  # Non-linux jobs; Python configured below
  - os: osx
    language: objective-c  # Only language provided
    # Homebrew installs Python to this location
    env: PATH=/usr/local/opt/python@3.8/bin:$PATH
  - os: windows
    language: shell
    # Chocolatey installs Python to this location
    env: PATH=/c/Python38:/c/Python38/Scripts:$PATH


install:
# Install Python & pip on macOS and Windows
- |-
  case $TRAVIS_OS_NAME in
    osx)
      brew update --quiet
      brew install python@3.8 ;;
    windows)
      choco install --no-progress python3
      python -m pip install --upgrade pip ;;
  esac
# All platforms
- pip3 install --upgrade pip
- pip3 install --requirement requirements.txt
- pip3 install --editable .[cache,docs,tests]

script: >
  pytest
  -ra
  --verbose
  --remote-data
  --cov pandasdmx --cov-report term-missing

after_success:
- coverage combine
- codecov

notifications:
  email: false

Increase verbosity on Travis, including e.g. Xpassed tests
Increase verbosity on Travis, including e.g. Xpassed tests
