forked from jaraco/keyring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (36 loc) · 1.09 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
# https://travis-ci.org/#!/jaraco/keyring
#
language: python
matrix:
include:
- os: linux
python: 2.7
- os: linux
python: 3.2
- os: linux
python: 3.3
- os: linux
python: 3.4
- os: linux
python: 3.5
- os: osx
language: generic
# Perform the manual steps on osx to install python3 and activate venv
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then python3 -m venv /tmp/.env; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source /tmp/.env/bin/activate; fi
script:
- pip install -U pytest
- python setup.py test --addopts="-rs -v"
deploy:
provider: pypi
on:
tags: true
all_branches: true
user: jaraco
password:
secure: aDqlVdm6FZ8pqLkoDRR2LH3TEz7pBvKH2HhOlSy7OEmopN/36ncql/KvfE0ccpaOES9Xm31a51bUfNjcwb1HVKjfW544C+IoSHctkG1rI5bp3q4rW+4RbQcBZVHUUKR9yQf9ZyikEmoYXi3g+JKcOf9rj+v/32PAfUDzSpFbWik=
distributions: release
python: 3.5