forked from anhaidgroup/py_entitymatching
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
74 lines (69 loc) · 2.63 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
matrix:
include:
- os: linux
python: 3.6
env:
- PYTHON_VERSION=3.6
- os: linux
python: 3.7
env:
- PYTHON_VERSION=3.7
- os: linux
python: 3.8
env:
- PYTHON_VERSION=3.8
- os: linux
python: 3.9
env:
- PYTHON_VERSION=3.9
- os: osx
osx_image: xcode12
language: generic
env:
- PYTHON_VERSION=3.6
- os: osx
osx_image: xcode12
language: generic
env:
- PYTHON_VERSION=3.7
- os: osx
osx_image: xcode12
language: generic
env:
- PYTHON_VERSION=3.8
- os: osx
osx_image: xcode12
language: generic
env:
- PYTHON_VERSION=3.9
compiler:
- gcc
before_install:
- if [ "$TRAVIS_OS_NAME" == linux ]; then MINICONDAVERSION="Linux"; else MINICONDAVERSION="MacOSX"; fi
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-$MINICONDAVERSION-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda create --yes -n py_entitymatching_test_env python=$PYTHON_VERSION --no-default-packages
- python --version
- which gcc
install:
- source activate py_entitymatching_test_env
- pip install -r requirements.txt
- pip install nose Cython
- python setup.py install
- python setup.py build_ext --inplace
script:
- source activate py_entitymatching_test_env
- nosetests -s
- python setup.py sdist bdist_wheel # Test distribution
# https://docs.travis-ci.com/user/deployment/pypi/
deploy:
provider: pypi
username: "__token__"
password:
secure: "jC6367hKIEWtvhHRytl9AXs/yWpEajkl0bpSF8xtus5pDZno94J0QBx6RWAXihDc0/P8IDMFpvKX4FHIzlMQ00kZEiKdR9SrQ/hdS3Yjup1YuUxsLGyP/AXc7eqDkzdpNMfMI3v5mHm1EyhDw5h7M4GMUYU2+pXFR0Q2XXiF9z1iUnwyNyTgQ/UyhAJYgWcU3Ja6L5a2CmpYeFaCRIAFqoMYkqqTpr16PedyYgIee+rko/z3dBGktCB3a+z8s9D3prdTRS1YnTxkkP0zeovmISt54hXsx49jFiBsRvj6kD18mUSJG3RgKQCEIRXc7KbYOun25dD0KMCVZF8k63HgbOhu/h1/DfD0y4ZmcKjMoS3bknYTYXf0wUCzlqkaRsvnWrwEgF+5hjbgvNpilRAeyMO4vshmUQP6FP221zyE4FgXepaECf4UnIut/7n63p2B6k+8DB8FI5a/v6/uWHUhsHqBIczAoEvt6c+Lrk2/GOzNlKnVmu9GLOqdXakFTf9mu+DF5xBEeX2ZgTggWsxqnRTHAPjYwIIOAPcREOX1wYYSt0l79YQmS/xArNaBnb6IQcFH5eMFwKHGlYjVmXAdOueYMLTmy1V3MnELXmKznm5AoN7Zi1u1S4TkiZvFkqbpfFAzS/MwlB5ZuzbqsxmWjNijGwd4szdaWyiod/2EoN4="
on:
tags: true
distributions: "sdist bdist_wheel"
skip_existing: true
# skip_cleanup: true