-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
40 lines (40 loc) · 2.2 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
sudo: false
language: python
python:
- '2.7'
env:
- NCDC_TOKEN=YcnZInRPxWnyyDEvysQNaTHrtgMEMHZD
# command to install dependencies
install:
- "pip install ."
- "pip install -r requirements.txt"
# command to run tests
script: nosetests
before_deploy: "echo 'ready?'"
deploy:
# test pypi
- provider: pypi
server: https://testpypi.python.org/pypi
user: suriyan
password:
secure: "YBB+HwstcTlqCYbxz+hgHrDs/pzkgXMMl51NsKnwHcQ4ashRRVW+zahoysDLBG9ABzS52NIxciwIR+6e3oJ/q+r2/Sllwgi+VVHbd0WBkkBmQQqYnUbWJRbqyuNUhXtLvxAWQ8PFchqPuTjUxZ0qT76+JzZk3xKOJ9wfm15ea5IbdNxF5tAFV5zZL7cwkznwrMKdoC3JjHN8aiMOUqDrhWFqjFqPfADT8B5oAiSjNFtG2IbKDgulxuERVgT4M6mZ6m2i+8rk7nSRw3pLRcUVGfz+s6/L7Ut9PUNB2GuTNp5Izp6iHZ+Wl76fpVncVUzrcDt+BiHkTYe9YKl0kW99G9qrrpOE/s1ixDLeAKGwv+qYZuz3L8cg8k9j+gRsOb4c5eNsZ8Kn2XsY8MgpXbmUZHYILCKc4uWUzBaOVFppT3UQaxYocbQhZ8ho+JGbo5vivRu7L6qYjbZAEMUAmz+51a2I3vAsLYQz7f5lWYgBMt+/4GXDA+u7HLpn6rYhvPjrXdkVLhok60M9WxApSETv1r/BZ6j0j3tF5t58Ylo3yPGV220aQR5jrZqJBgY3AgulDLdpDeDly+KVnLopFIR8H99xvF6UfaNZE3uqsZD/7nctAllMk47k+lJHWu5HELQHtddMnXsu5t0VpLJApfGo6khQdqOXcEaMpVEROLu7KRU="
on:
tags: false
distributions: sdist bdist_wheel
repo: soodoku/get-weather-data
branch: master
condition: $TRAVIS_PYTHON_VERSION = "2.7"
# production pypi
- provider: pypi
user: suriyan
password:
secure: "YBB+HwstcTlqCYbxz+hgHrDs/pzkgXMMl51NsKnwHcQ4ashRRVW+zahoysDLBG9ABzS52NIxciwIR+6e3oJ/q+r2/Sllwgi+VVHbd0WBkkBmQQqYnUbWJRbqyuNUhXtLvxAWQ8PFchqPuTjUxZ0qT76+JzZk3xKOJ9wfm15ea5IbdNxF5tAFV5zZL7cwkznwrMKdoC3JjHN8aiMOUqDrhWFqjFqPfADT8B5oAiSjNFtG2IbKDgulxuERVgT4M6mZ6m2i+8rk7nSRw3pLRcUVGfz+s6/L7Ut9PUNB2GuTNp5Izp6iHZ+Wl76fpVncVUzrcDt+BiHkTYe9YKl0kW99G9qrrpOE/s1ixDLeAKGwv+qYZuz3L8cg8k9j+gRsOb4c5eNsZ8Kn2XsY8MgpXbmUZHYILCKc4uWUzBaOVFppT3UQaxYocbQhZ8ho+JGbo5vivRu7L6qYjbZAEMUAmz+51a2I3vAsLYQz7f5lWYgBMt+/4GXDA+u7HLpn6rYhvPjrXdkVLhok60M9WxApSETv1r/BZ6j0j3tF5t58Ylo3yPGV220aQR5jrZqJBgY3AgulDLdpDeDly+KVnLopFIR8H99xvF6UfaNZE3uqsZD/7nctAllMk47k+lJHWu5HELQHtddMnXsu5t0VpLJApfGo6khQdqOXcEaMpVEROLu7KRU="
on:
tags: true
distributions: sdist bdist_wheel
repo: soodoku/get-weather-data
branch: master
condition: $TRAVIS_PYTHON_VERSION = "2.7"
after_deploy:
- "echo 'after'"
- "echo 'done'"