forked from dedupeio/dedupe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
80 lines (80 loc) · 2.09 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
77
78
79
80
branches:
only:
- master
- "/^v.*$/"
notifications:
email:
on_success: change
on_failure: always
irc: chat.freenode.net#dedupe
language: python
sudo: false
matrix:
include:
- python: 3.6
- python: 3.5
- python: 2.7
- os: osx
language: generic
- os: osx
language: generic
before_install:
- brew update
- brew install python3
- virtualenv env -p python3
- source env/bin/activate
- services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
before_install:
- if ! [[ $TRAVIS_TAG ]]; then exit 0; fi
install:
- docker pull $DOCKER_IMAGE
script:
- docker run --rm -v `pwd`:/io $DOCKER_IMAGE /io/.manylinux-install.sh
after_success:
- pip install twine && twine upload -u datamade.wheelbuilder -p $PYPIPASSWORD wheelhouse/*
- exit 0
- services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
before_install:
- if ! [[ $TRAVIS_TAG ]]; then exit 0; fi
install:
- docker pull $DOCKER_IMAGE
script:
- docker run --rm -v `pwd`:/io $DOCKER_IMAGE /io/.manylinux-install.sh
after_success:
- pip install twine && twine upload -u datamade.wheelbuilder -p $PYPIPASSWORD wheelhouse/*
- exit 0
install:
- pip install --upgrade pip
- pip install --upgrade -r requirements.txt
- cython src/*.pyx
- pip install -e .
script:
- pytest tests --cov dedupe
- python tests/canonical.py -vv
after_success:
- pip install coveralls
- coveralls
deploy:
- provider: pypi
skip_cleanup: true
user: datamade.wheelbuilder
on:
tags: true
condition: "$TRAVIS_OS_NAME = osx"
distributions: bdist_wheel
password: $PYPIPASSWORD
- provider: pypi
skip_cleanup: true
user: datamade.wheelbuilder
on:
tags: true
condition: "$TRAVIS_OS_NAME = linux"
distributions: sdist
password: $PYPIPASSWORD
env:
global:
- secure: T3lCe9jJUbYLB0WHgSD+utrmJSvgcXCLi+Lwugsaa2SXIX8UzL7TbwHWB1t10H4sddy0QBBwanqRptv6iZ7gN0EtIE6+BDv6FJcNZJBDp13pUoQqq1Fm3OMbEniLrc/ubV6mZyJLHh6oNJtzSWPk1wrFvByLpYskeZIm4ayw4Mc=