forked from dedupeio/dedupe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (38 loc) · 1.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
branches:
only:
- master
- development
language: python
notifications:
email:
on_success: change
on_failure: always
irc: chat.freenode.net#dedupe
python:
- "2.7_with_system_site_packages"
- '2.6'
before_install:
- sudo add-apt-repository ppa:cython-dev/master-ppa -y
- sudo apt-get update -qq
- sudo apt-get install python-zope.index cython
install:
- if [ "$TRAVIS_PYTHON_VERSION" == "2.6" ]; then pip install --use-mirrors -r py26_requirements.txt;
fi
- if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then pip install --use-mirrors -r requirements.txt;
fi
- pip install --use-mirrors -r dev_requirements.txt
- cython src/*.pyx
- python setup.py develop
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
script:
- coverage run -m nose -I canonical_test
- python tests/canonical_test.py
after_success: coveralls
deploy:
provider: pypi
user: fgregg
password:
secure: O/EwutOV8DmlYJ7dPJ2st7nGDKEaTaA/gwx7mxzFQYYlyJ7Iu87QXwEY3gPGFOGDh6eyg2qMqtKPTJnXTnltb8ROFX61WKu3F/do1cORFPDQneOAzyzL7ID+a7RaMaeUQ1gRFDo5nJuGGW8wmC8LZUjwcrtrx2zlYcEydq1CW+A=
on:
tags: true
repo: datamade/dedupe