forked from nteract/scrapbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 806 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
language: python
sudo: false
matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)
sudo: required # required for Python 3.7 (travis-ci/travis-ci#9069)
env: TOXENV=py37
- python: 3.6
env: TOXENV=flake8
- python: 3.6
env: TOXENV=dist
# - python: 3.6
# env: TOXENV=docs
- python: 3.6
env: TOXENV=manifest
install:
- pip install tox
- pip install coverage codecov
script:
- tox -e $TOXENV
after_success:
- test $TRAVIS_BRANCH = "master" &&
test $TOXENV = "py36" &&
coverage xml -i
- test $TRAVIS_BRANCH = "master" &&
test $TOXENV = "py36" &&
codecov