File tree Expand file tree Collapse file tree 5 files changed +14
-12
lines changed Expand file tree Collapse file tree 5 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- script : nosetests -v tests.test_api tests.test_streaming tests.test_cursors
3
2
language : python
3
+ python :
4
+ - " 2.7"
5
+ install :
6
+ - pip install -r test_requirements.txt
7
+ script : ./run_tests.sh
4
8
env :
5
9
global :
6
10
- TWITTER_USERNAME="tweepytest"
20
24
nKkytraqLGUm33K1GpwkjOyxACDHYw4GMvOGyDwVTX7VNwqxbkUojB7qXYoQ
21
25
JjlEyFWS487IFteR87U9pt18qongJJIphaBdT9/lDVLsMWZ0Jh5ZLQfX+2jS
22
26
aF2UwsrYkzBUMrqMqYCc2+X6CuswLEZTVXDAlNh+emvhxZ5faMI=
23
- python :
24
- - " 2.7"
25
- branches :
26
- only :
27
- - master
27
+
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ if [[ $TRAVIS_SECURE_ENV_VARS == " false" ]]; then
4
+ USE_REPLAY=1 nosetests -v tests.test_api
5
+ else
6
+ nosetests -v tests.test_api tests.test_streaming tests.test_cursors
7
+ fi
Original file line number Diff line number Diff line change 2
2
#from distutils.core import setup
3
3
from setuptools import setup , find_packages
4
4
from tweepy import __version__
5
- from pip .req import parse_requirements
6
-
7
- install_reqs = parse_requirements ('requirements.txt' )
8
- reqs = [str (req .req ) for req in install_reqs ]
9
5
10
6
setup (name = "tweepy" ,
11
7
version = __version__ ,
15
11
author_email = "tweepy@googlegroups.com" ,
16
12
url = "http://github.com/tweepy/tweepy" ,
17
13
packages = find_packages (),
18
- install_requires = reqs ,
19
14
keywords = "twitter library" ,
20
15
zip_safe = True )
File renamed without changes.
Original file line number Diff line number Diff line change 7
7
from tweepy .auth import OAuthHandler
8
8
from tweepy .api import API
9
9
10
- username = os .environ .get ('TWITTER_USERNAME' , '' )
10
+ username = os .environ .get ('TWITTER_USERNAME' , 'tweepytest ' )
11
11
oauth_consumer_key = os .environ .get ('CONSUMER_KEY' , '' )
12
12
oauth_consumer_secret = os .environ .get ('CONSUMER_SECRET' , '' )
13
13
oauth_token = os .environ .get ('ACCESS_KEY' , '' )
You can’t perform that action at this time.
0 commit comments