-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
61 lines (48 loc) · 1007 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
os: linux
branches:
only:
- master
- develop
sudo: false
language: python
matrix:
fast_finish: true
include:
- python: "2.7"
- python: "3.4"
- python: "3.5"
- python: "3.6"
- python: "3.7"
dist: xenial
sudo: true
- os: osx
language: generic
env: PYTHON=2.7.15
- os: osx
language: generic
env: PYTHON=3.4.8
- os: osx
language: generic
env: PYTHON=3.5.5
- os: osx
language: generic
env: PYTHON=3.6.6
- os: osx
language: generic
env: PYTHON=3.7.0
before_install: |
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew update
brew install openssl readline
brew outdated pyenv || brew upgrade pyenv
brew install pyenv-virtualenv
pyenv install $PYTHON
export PYENV_VERSION=$PYTHON
export PATH="/Users/travis/.pyenv/shims:${PATH}"
pyenv-virtualenv venv
source venv/bin/activate
python --version
fi
install: pip install -r requirements.txt
script: invoke tests
after_success: codecov