ee02d4b6fd
* feat(client): add http2 option * chore(deps): update httpx * refactor(gtoken): gtoken should always accept client argument in order to follow client's options * chore(ci): change dist to ubuntu 18.04 bionic * chore:test available service_urls and multi-lang result in different service_urls (#216) * feat(models): add Base model * test: reuse test client * feat(client): return Translated and Detected with the original response * test(client): ConnectError has been replaced with httpx.ConnectTimeout * fix: possible merge conflict * chore(docs): add a description for checking http2 * chore(deps): add sphinx to dev deps * test(client): httpx will raise ConnectError in some conditions omg i missed Co-authored-by: Terry Zhuo <terryzhuo25@gmail.com>
13 lines
182 B
YAML
13 lines
182 B
YAML
language: python
|
|
dist: bionic
|
|
python:
|
|
- 3.6
|
|
- 3.7
|
|
- 3.8
|
|
- pypy3
|
|
install:
|
|
- pip install tox-travis
|
|
- pip install pytest-cov coveralls
|
|
script: tox
|
|
after_success: coveralls
|