Commit f878a2b6 authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Tiddy up travis file.

parent 9af6ef7c
language: python
python:
- '2.7'
- '3.4'
install:
- pip install -r test_requirements.txt -r requirements.txt
script: ./run_tests.sh
env:
global:
- TWITTER_USERNAME="tweepytest"
- AWS_BUCKET="tweepy"
- USE_REPLAY=1
- secure: ! 'MZv5O5E5E1074sT14wnRThOeFoDTZy+AdIUy+S6XqY/DMVWF2utSx09GLbvM
EM+cnKavRLHTbKpoHPIzzhKx9DQLrxtYy+s3Rw9AeGo8K3LA7mcn4T4eCH7s
......@@ -30,7 +30,15 @@ env:
aF2UwsrYkzBUMrqMqYCc2+X6CuswLEZTVXDAlNh+emvhxZ5faMI='
- secure: TPQSFGqdl6khXqQqTZ6euROoAmFRnONAlPXD6npvTIIN+fNfnz8lvZtOEWHo2jRPLoU3FyVUhYvTynj6B2hJinulP+RKOMbQ65HCZVHrsitwl1n1QZB5HegQDOYc5q6VTTYn/r8r5tGy35U0O80y1zycTLqSJiXlkdqsSq564pI=
install:
- pip install -r test_requirements.txt -r requirements.txt
script:
- nosetests -v --with-coverage tests.test_api tests.test_utils
after_success: if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then coveralls; fi
deploy:
provider: pypi
user: jroesslein
......
#! /usr/bin/env bash
if [[ $TRAVIS_BRANCH == "production" ]]; then
nosetests -v --with-coverage tests.test_api tests.test_streaming tests.test_cursors tests.test_utils
else
USE_REPLAY=1 nosetests -v --with-coverage tests.test_api tests.test_utils
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment