Skip to content

Commit

Permalink
optimize some code
Browse files Browse the repository at this point in the history
  • Loading branch information
wujinhu committed Nov 21, 2017
1 parent cd16acd commit ce3388a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
install:
- pip install crcmod requests nose nose-cov python-coveralls aliyun-python-sdk-sts
- pip install --upgrade mock
script:
- nosetests unittests/ --with-cov
- export OSS_TEST_AUTH_VERSION=v1
- if [ -n "$OSS_TEST_ACCESS_KEY_ID" ]; then travis_wait 30 nosetests -s tests/ --with-cov --cover-xml-file=coverage.1.xml; fi
- if [ -n "$OSS_TEST_ACCESS_KEY_ID" ]; then travis_wait 30 nosetests -s tests/ --with-cov; fi
- export OSS_TEST_AUTH_VERSION=v2
- if [ -n "$OSS_TEST_ACCESS_KEY_ID" ]; then travis_wait 30 nosetests -s tests/ --with-cov --cover-xml-file=coverage.2.xml; fi
- if [ -n "$OSS_TEST_ACCESS_KEY_ID" ]; then travis_wait 30 nosetests -s tests/ --with-cov; fi
after_success:
- coveralls
env:
Expand Down

0 comments on commit ce3388a

Please sign in to comment.