forked from ome/omero-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (45 loc) · 1.12 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
37
38
39
40
41
42
43
44
45
46
47
os: bionic
language: python
jobs:
include:
- name: Windows
os: windows
language: sh
before_install:
- choco install python3 --version 3.7.3
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
install: python -m pip install --upgrade pip wheel pytest tox
script:
- tox -e py37-win
- name: OS X
os: osx
osx_image: xcode11.2 # Python 3.7.4 running on macOS 10.14.4
language: shell # 'language: python' is an error on Travis CI macOS
script:
- ulimit -n 4096
- tox -e py37
- name: Python37
python: "3.7"
script:
- ulimit -n 4096
- tox -e py37
- name: Python36
python: "3.6"
script:
- ulimit -n 4096
- tox -e py36
- stage: deploy
python: "3.6"
script: skip
skip_cleanup: true
deploy:
provider: pypi
user: $PYPI_USER
password: $PYPI_PASSWORD
distributions: sdist bdist_wheel
on:
tags: true
install: pip3 install --upgrade pip wheel pytest tox virtualenv
cache:
directories:
- $HOME/.cache/pip