-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
37 lines (33 loc) · 896 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: python
# do not run Travis for PR's twice (as for push and as for PR)
branches:
only:
- master
before_install:
# show a little bit more information about environment
- sudo apt-get install -y tree
- env
- tree
# install DepHell
# https://github.com/travis-ci/travis-ci/issues/8589
- curl https://raw.githubusercontent.com/dephell/dephell/master/install.py | /opt/python/3.7/bin/python
- dephell inspect self
install:
- dephell venv create --env=$ENV --python="/opt/python/$TRAVIS_PYTHON_VERSION/bin/python"
- dephell deps install --env=$ENV
script:
- dephell venv run --env=$ENV
matrix:
include:
- python: "3.6.7"
env: ENV=pytest
- python: "3.7"
env: ENV=pytest
- python: "3.8"
env: ENV=pytest
- python: "pypy3"
env: ENV=pytest
- python: "3.7"
env: ENV=flake8
- python: "3.7"
env: ENV=typing