-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (35 loc) · 939 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
32
33
34
35
36
37
38
39
40
41
42
43
44
# This file is part of Nutrition Parser
# Copyright (C) 2015 Lars Holm Nielsen.
#
# Nutrition Parser is free software; you can redistribute it and/or
# modify it under the terms of the Revised BSD License; see LICENSE
# file for more details.
sudo: false
language: python
python:
- "3.4"
- "3.3"
- "2.7"
- "pypy"
cache:
- pip
install:
# Install test dependencies
- "travis_retry pip install coveralls pep257 Sphinx twine wheel"
- "travis_retry pip install pytest pytest-pep8 pytest-cov pytest-cache"
- "travis_retry pip install ."
- "mkdir data && cd data && wget https://www.ars.usda.gov/SP2UserFiles/Place/12354500/Data/SR27/dnload/sr27asc.zip && unzip sr27asc.zip && cd .."
script: ./run-tests.sh
after_success:
- coveralls
notifications:
email: false
deploy:
provider: pypi
user: lnielsen
password:
secure: CHANGEME
distributions: "sdist bdist_wheel"
on:
tags: true
python: "2.7"