-
Notifications
You must be signed in to change notification settings - Fork 51
/
.travis.yml
48 lines (39 loc) · 833 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
language: python
dist: xenial
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
matrix:
include:
- os: osx
language: generic
env: PYTHON=2.7.17
- os: osx
language: generic
env: PYTHON=3.7.4
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update
brew install openssl readline
brew outdated pyenv || brew upgrade pyenv
pyenv install $PYTHON
export PYENV_VERSION=$PYTHON
export PATH="${HOME}/.pyenv/shims:${PATH}"
python --version
fi
install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
python -m pip install -U pip
python -m easy_install -U setuptools
fi
- pip install chardet
script:
- python setup.py test
notifications:
email:
- idealities@gmail.com