From 7a44fdad7ebcbb955c4cf67357c788e2ac734dfd Mon Sep 17 00:00:00 2001 From: Michael Ding Date: Tue, 15 Oct 2019 18:06:00 +0800 Subject: [PATCH] update travis ci --- .travis.yml | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index fc3013d..6e2312b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,25 @@ language: python cache: pip services: - - redis-server +- redis-server python: - - "3.5" - - "3.6" +- '3.5' +- '3.6' +- '3.7' install: - - pip install -r test-requirements.txt -U +- pip install -r test-requirements.txt -U script: - - flake8 sea --exclude=*_pb2.py - - pytest tests +- flake8 sea --exclude=*_pb2.py +- pytest tests after_success: - - CODECLIMATE_REPO_TOKEN=19c5e18e184070a726bb6fc703e321e526ca638df16f9623654044bcccdb1a9d codeclimate-test-reporter - - coveralls +- CODECLIMATE_REPO_TOKEN=19c5e18e184070a726bb6fc703e321e526ca638df16f9623654044bcccdb1a9d + codeclimate-test-reporter +- coveralls +deploy: + provider: pypi + distributions: bdist_wheel + user: __token__ + password: + secure: GhYElf7a0NzQYd3t6cjioHxdEJnqraCcMVB3WaUvfpB+6aTnpylPLwzUZJFFsICbgpFfjHyT6X9v62j3lgtljy6NTDC2iU/XgtZG4pr/Kqa06smJGLcZTzswPQBkWBHkVLD6PHEqRB8hk4q01Uzcm0THNPKZWB7WNQKC7PJ4PWPCi2mKIcSu9fPVdoiiYpdzkEqtzuuVoZxdz3Q/GDoy7K5DMs1j4dI/8M1mguUliBqIj0yBJCiAoDEnIneNRTJL6ZZW9m9P5n2gdZ0hmxetQ0Twt+2VQ179k7MVjJyox4V1h15A3VNyKvxc5HGkaUIKNQKUrR4TiZ7WLkunTlyF5gGfk9IzYtq8UpD0PQ1bn/UQYTkerWBWI0FpdR5iCVkw4nSpYKZhOm+c4ZUfhJRZkdA0mhtDtygwdJCLcLDr//FJKdFX6hN/ceBmXvz6nTndLo/nXt1LyLjb9VinI+/uDFO+vyIeBHhE5wYL3Qd3nIh9NwOTt0+j6NHs+sxyy5UFPxggVrTJm3tMANJEZ5xXQosschaUABk77+ULP1ap3UmEgoRccOMhsKQEPan2UH+zps/oyVxZqdqQ1ZwA1AJ+hX0n2+NGYQxVFcgd2M+mgu5IYESxbLB6YzcU1bumrs9A3s1sV4WAEI8Q6NBDEGlk6ioDVDSjMDRpFa0n2+Qs1j8= + on: + tags: true