forked from AeonSw4n/CS506-Fall2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (31 loc) · 788 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
sudo: false
language: python
matrix:
include:
- dist: xenial
python: "3.7"
env: TOXENV=py37
after_success: coveralls
- os: osx
language: generic
env:
- PYTHON=3.7.0
- TOXENV=py37
# Installing Python on macOS for Travis CI: https://pythonhosted.org/CodeChat/.travis.yml.html
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 tox-travis coveralls
script: |
cd 02-library/
tox