-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (40 loc) · 1 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
# Config file for automatic testing at travis-ci.org
sudo: false
language: python
matrix:
fast_finish: true
include:
- python: 2.7
env: TOX_ENV=py27
- python: 3.4
env: TOX_ENV=py34
- python: 3.5
env: TOX_ENV=py35
- python: 3.6
env: TOX_ENV=py36
# - python: pypy
# env: TOX_ENV=pypy
- python: 3.5
env: TOX_ENV=flake8
allow_failures:
- env: TOX_ENV=flake8
script: tox -e $TOX_ENV
install:
- pip install tox
after_success:
# Report coverage results to codecov.io
# and export tox environment variables
- pip install codecov
- codecov -e TOX_ENV TRAVIS_OS_NAME
# After you create the Github repo and add it to Travis, run the
# travis_pypi_setup.py script to finish PyPI deployment setup
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: aryamccarthy
password:
secure: PLEASE_REPLACE_ME
on:
tags: true
repo: aryamccarthy/gapjunctions
condition: $TOXENV == py27