-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
31 lines (26 loc) · 682 Bytes
/
.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
language: python
python:
- 2.7
- 3.4
install:
- python setup.py sdist
- pip install dist/*.tar.gz
- pip install coverage
script:
- cd crowfood/test
- nosetests --with-coverage --cover-package=crowfood --no-path-adjustment
after_success:
- if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then
pip install coveralls ;
coveralls ;
fi
- cd ../..
deploy:
provider: pypi
user: neothemachine
password:
secure: "QL/YehkdkoeKudEkE6OHUTFtYF5mhXN93fMxcEY/LwCLv4IA3a1qpYCcq1RLcSX3qjMG29TuADPNghLrc6Vqb3UfxodKJSF0MhKzbVEYxN3ylKLjGklVkyztb6pRApv32DWnvobTTSgS8Dz7vtZam6wq10cLLBk8r9WL9Cxzd7A="
on:
tags: true
all_branches: true
python: 3.4