forked from glitchassassin/lackey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (32 loc) · 1.05 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
matrix:
include:
- os: osx
language: generic
env: PYTHON=2.7
- os: osx
language: generic
env: PYTHON=3.5.4
- os: osx
language: generic
env: PYTHON=3.6.3
- os: osx
language: generic
env: PYTHON=3.7
before_install: "if [ \"$TRAVIS_OS_NAME\" == \"osx\" ]; then\n brew update\n brew
install openssl readline\n\n # install pyenv\n git clone --depth 1 https://github.com/pyenv/pyenv
~/.pyenv\n PYENV_ROOT=\"$HOME/.pyenv\"\n PATH=\"$PYENV_ROOT/bin:$PATH\"\n eval
\"$(pyenv init -)\"\n\n # set up Python environment\n pyenv install $PYTHON\n
\ pyenv global $PYTHON\n \n pyenv rehash\n python -m pip install virtualenv\n
\ python -m virtualenv ~/.venv\n source ~/.venv/bin/activate\nfi\n"
install:
- python --version
- python -m pip install --disable-pip-version-check --upgrade pip
- pip install -r osx_requirements.txt
- python -m easy_install -U setuptools
script:
- python setup.py install
- python tests/appveyor_test_cases.py
after_success:
- python setup.py bdist_wheel
- python setup.py sdist
- ls dist