diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2019-10-12 01:31:33 -0700 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2019-10-12 01:31:33 -0700 |
commit | 19750369829f239e7cf61b2c59f095eaf3c00c79 (patch) | |
tree | 39dc8fcd6eda986c8cce16aa6f1228b8fa6ce76d /.travis.yml | |
parent | 635ecd045994f4f5df0ef1b1854de21f4c9860a0 (diff) | |
download | isort-19750369829f239e7cf61b2c59f095eaf3c00c79.tar.gz |
Remove tox usage, switch to simpler script based approach
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 56 |
1 files changed, 18 insertions, 38 deletions
diff --git a/.travis.yml b/.travis.yml index 2bd8274e..7acd4c27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,46 +1,26 @@ +dist: xenial language: python cache: pip -env: - - global: - - PYTEST_ADDOPTS=-vv -python: 3.7 +install: +- pip3 install poetry +- poetry install matrix: include: - - env: TOXENV=black - - env: TOXENV=isort-check - - env: TOXENV=lint - - env: TOXENV=mypy - - python: 3.5 - env: TOXENV=py35-coverage - - python: 3.6 - env: TOXENV=py36-coverage - - python: 3.7 - env: TOXENV=py37-coverage - - python: 3.8-dev - env: TOXENV=py38-coverage - - python: pypy3 - env: TOXENV=pypy3 - - os: osx - language: generic - env: TOXENV=py36 - -install: -- pip install tox + - os: linux + python: 3.5 + - os: linux + python: 3.6 + - os: linux + python: 3.7 + env: DEPLOY=yes + - os: linux + python: 3.8-dev + - os: osx + language: generic script: - - tox -after_success: - - | - # Report coverage for TOXENV=*-coverage. - if [[ "${TOXENV%-coverage}" != "$TOXENV" ]]; then - set -e - # Add last TOXENV to $PATH. - PATH="$PWD/.tox/${TOXENV##*,}/bin:$PATH" - coverage xml - coverage report -m - bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml -n $TOXENV - set +e - fi - +- bash scripts/test.sh +after_script: +- bash <(curl -s https://codecov.io/bash) deploy: provider: pypi user: timothycrosley |