diff options
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0afb5cc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,33 @@ +language: python +python: + - "3.6" + - "3.7" + - "3.8" + +matrix: + include: + - python: 3.7 + dist: xenial + sudo: true + +install: + - pip install -r requirements-dev.txt + - pip install -e . + - sudo rm -f /etc/mysql/conf.d/performance-schema.cnf + - sudo service mysql restart + +script: + - ./setup.py test --pytest-args="--cov-report= --cov=mycli" + - coverage combine + - coverage report + - ./setup.py lint --branch=$TRAVIS_BRANCH + +after_success: + - codecov + +notifications: + webhooks: + urls: + - YOUR_WEBHOOK_URL + on_success: change # options: [always|never|change] default: always + on_failure: always # options: [always|never|change] default: always |