.travis.yml 1.78 KB
Newer Older
1
2
sudo: false

Joshua Roesslein's avatar
Joshua Roesslein committed
3
language: python
Aaron Hill's avatar
Aaron Hill committed
4
cache: pip
Joshua Roesslein's avatar
Joshua Roesslein committed
5

Joshua Roesslein's avatar
Joshua Roesslein committed
6
python:
Joshua Roesslein's avatar
Joshua Roesslein committed
7
- '2.7'
8
- '3.4'
hugovk's avatar
hugovk committed
9
- '3.5'
Moulick Aggarwal's avatar
Moulick Aggarwal committed
10
- '3.6'
Joshua Roesslein's avatar
Joshua Roesslein committed
11

12
13
env:
  global:
Aaron Hill's avatar
Aaron Hill committed
14
  - TWITTER_USERNAME="TheTweepyTester"
15
  - AWS_BUCKET="tweepy"
Joshua Roesslein's avatar
Joshua Roesslein committed
16
  - USE_REPLAY=1
17
18
  - secure: ! 'MZv5O5E5E1074sT14wnRThOeFoDTZy+AdIUy+S6XqY/DMVWF2utSx09GLbvM

Joshua Roesslein's avatar
Joshua Roesslein committed
19
      EM+cnKavRLHTbKpoHPIzzhKx9DQLrxtYy+s3Rw9AeGo8K3LA7mcn4T4eCH7s
20
21
22
23

      RGaEkEqH4wTbe01zsmBJ9n9pALmtFgDk9WeDlpAY9wc5cAPgrZ4='
  - secure: ! 'f4nCh413cDJF3llGsUdaSz8Rw8WaEDzsSAqa7rK8IcozvS6+S82nm8A/xKYg

Joshua Roesslein's avatar
Joshua Roesslein committed
24
      i6A6uC081XWa6JqQ9hyTxHam3OWGAYrytELrEUfkX4ZYMM8lmQYCmnhrN9r/
25
26
27
28

      FaX1haT4lRfm9r0zAYZileLVmcTg8LSZzpRowA/DH9ZO8QD76b4='
  - secure: ! 'YxZerqEAifcNS3qTbWyr2MAxDl1hMGv2p87nmw+AHP62LoTGEhHtulQdadjG

Joshua Roesslein's avatar
Joshua Roesslein committed
29
      CNdhLzyIY+GgRotWVu39OfVPRKyfMBFrpPdUY7tKSZ/O8Ct9792mrSvCOpOV
30
31
32
33

      Li/TYytFtrNQiB7yjcoaub1RabffBcLbu5YzbWN4gPrukQV03Jc='
  - secure: ! 'nKkytraqLGUm33K1GpwkjOyxACDHYw4GMvOGyDwVTX7VNwqxbkUojB7qXYoQ

Joshua Roesslein's avatar
Joshua Roesslein committed
34
      JjlEyFWS487IFteR87U9pt18qongJJIphaBdT9/lDVLsMWZ0Jh5ZLQfX+2jS
35
36
37

      aF2UwsrYkzBUMrqMqYCc2+X6CuswLEZTVXDAlNh+emvhxZ5faMI='
  - secure: TPQSFGqdl6khXqQqTZ6euROoAmFRnONAlPXD6npvTIIN+fNfnz8lvZtOEWHo2jRPLoU3FyVUhYvTynj6B2hJinulP+RKOMbQ65HCZVHrsitwl1n1QZB5HegQDOYc5q6VTTYn/r8r5tGy35U0O80y1zycTLqSJiXlkdqsSq564pI=
Joshua Roesslein's avatar
Joshua Roesslein committed
38
39
40

install:
  - pip install -r test_requirements.txt -r requirements.txt
Joshua Roesslein's avatar
Joshua Roesslein committed
41
  - pip install coveralls
Joshua Roesslein's avatar
Joshua Roesslein committed
42
43

script:
44
  - nosetests -v --with-coverage -c tests/travis-tests.cfg
Joshua Roesslein's avatar
Joshua Roesslein committed
45

Joshua Roesslein's avatar
Joshua Roesslein committed
46
47
after_success:
  - if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then coveralls; fi
Joshua Roesslein's avatar
Joshua Roesslein committed
48

49
50
51
before_deploy:
  - pip install twine

Joshua Roesslein's avatar
Joshua Roesslein committed
52
53
54
55
56
deploy:
  provider: pypi
  user: jroesslein
  password:
    secure: agApkjsKOSkFI6DiNydyW26r8ASFsTsFK/RHsV1F7CqoERoeAaRAehYy9EGW2Jn2aJzNlagDByfh5xNfClXuRh0GoEfOyjj5AmBm4hMrzc3bwsH+IPU3OQhQtS3aFGNmIkaz2Bz+Dcl5zTmV914N3mqcoGpyMtxyn1Hwc0Xgn6Q=
Joshua Roesslein's avatar
Joshua Roesslein committed
57
  distributions: sdist bdist_wheel
Joshua Roesslein's avatar
Joshua Roesslein committed
58
59
  on:
    repo: tweepy/tweepy
Joshua Roesslein's avatar
Joshua Roesslein committed
60
    tags: true
hugovk's avatar
hugovk committed
61
62
63

matrix:
  fast_finish: true