forked from amphibian-dev/toad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
76 lines (69 loc) · 1.65 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
matrix:
include:
- name: "Python 3.6 on Linux"
os: linux
language: python
python: "3.6"
sudo: required
services:
- docker
env:
- DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
- PLAT=manylinux1_x86_64
before_install:
- sudo apt-get install -y graphviz
dist: trusty
before_deploy:
- make dist_manylinux
- name: "Python 3.7 on macOS"
os: osx
osx_image: xcode11.3
language: shell
env:
- SUDO=sudo
- HOMEBREW_NO_INSTALL_CLEANUP=TRUE
before_install:
- brew update
# - brew install graphviz
before_deploy:
- make dist_wheel
- name: "Python 3.7 on Windows"
os: windows
language: shell
python: "3.7"
env:
- PATH=/c/Python37:/c/Python37/Scripts:$PATH
before_install:
- choco install python --version=3.7.2
- choco install graphviz
- choco install make
before_deploy:
- make dist_wheel
- name: "Python 3.6 on Windows"
os: windows
language: shell
python: "3.6"
env:
- PATH=/c/Python36:/c/Python36/Scripts:$PATH
before_install:
- choco install python --version=3.6.8
- choco install graphviz
- choco install make
- pip install -U patsy
before_deploy:
- make dist_wheel
install:
- make install
script:
- make test
deploy:
- skip_cleanup: true
provider: script
script: make upload
on:
tags: true
- skip_cleanup: true
provider: script
script: make upload
on:
branch: release