forked from beeware/rubicon-objc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 842 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
branches:
only:
- master
os: osx
osx_image: xcode7.3 # OSX 10.11 El Capitan
language: generic
cache:
directories:
~/.pyenv
install:
# pyenv's shims directory is not in the PATH by default.
- export PATH="$(pyenv root)/shims:${PATH}"
# Diagnostic: Find out which versions of Python are availalbe.
- pyenv install -l
# Rubicon supports Python 3.5 and newer.
# The most recent version of Python 3.5 provided by the pyenv install on
# macOS 10.11 is 3.5.2. There are more recent versions of Python 3.5
# available, but using them would mean updating pyenv, which takes 10+
# minutes on macOS 10.11.
- pyenv install --skip-existing 3.5.2
- pyenv global 3.5.2
- python -m pip install --upgrade "pip<21"
- python -m pip install --upgrade setuptools
- python -m pip install tox
script:
- python -m tox -e py