Trying this travis var stuff again!

This commit is contained in:
Mike Helmick 2013-09-24 17:58:59 -04:00
parent 85a327163d
commit 58ff3de7a1

View file

@ -16,6 +16,10 @@ env:
- TEST_TWEET_ID=332992304010899457
- TEST_LIST_SLUG=team
- TEST_LIST_OWNER_SCREEN_NAME=twitterapi
- |-
ACCESS_TOKEN_B64=U2FsdGVkX1+OsKZdDqnhWy1jwIUKKqjp2eeTeIS2S2Z9xfwzg2XPavn01lV9Ml7j
LULxl/l4021YZ3DdYpudm7vQHr+lJGMM1TNPdf0QIusxWYZp7pGayl6uourm8iEY
WIEpMtCNL3l6Ntluw077oVP9TW0kiGQ8JROemIHLTOY=
install: pip install -r requirements.txt
script: nosetests -v -w tests/ --logging-filter="twython" --with-cov --cov twython --cov-config .coveragerc --cov-report term-missing
notifications:
@ -26,8 +30,4 @@ branches:
after_success:
- coveralls
before_script:
- |-
ACCESS_TOKEN_B64=U2FsdGVkX1+OsKZdDqnhWy1jwIUKKqjp2eeTeIS2S2Z9xfwzg2XPavn01lV9Ml7j
LULxl/l4021YZ3DdYpudm7vQHr+lJGMM1TNPdf0QIusxWYZp7pGayl6uourm8iEY
WIEpMtCNL3l6Ntluw077oVP9TW0kiGQ8JROemIHLTOY=
- ACCESS_TOKEN=`openssl enc -d -aes-256-cbc -a $ACCESS_TOKEN_B64 -pass env:$ACCESS_TOKEN_SECRET`
- export ACCESS_TOKEN=$(echo $ACCESS_TOKEN_B64 | openssl enc -d -aes-256-cbc -a -pass env:ACCESS_TOKEN_SECRET)