* pep8 autopep8 -r -i -a -a manticore * tox for testing py3k * minimal codeclimate * Add correct Code Climate ID * unignore max line endings since it's set to 160 * more badges * turn off pep8 in code climate * need to remove for codeclimate to work right * re-enable most checks with looser thresholds * remove unused imports autoflake --in-place -r manticore * revert the autoflakes changes * set tox to only py27 for now * cache is hardcoded to python 2.7.13 * Comment cleanup * Try autoflake again * Add dev environment dependency management to tox.ini * Remove count/statistics options from tox.ini Per Dan, these crash pep8 analysis on codeclimate at present * Revert setstate initialization * Re-introduce explicit compare for flags * add back structural comment * rm unneeeded ` as e` * bump py tox
37 lines
726 B
YAML
37 lines
726 B
YAML
dist: trusty
|
|
sudo: required
|
|
os:
|
|
- linux
|
|
language: python
|
|
python:
|
|
- 2.7.13
|
|
|
|
env:
|
|
global:
|
|
- CC_TEST_REPORTER_ID=db72f1ed59628c16eb0c00cbcd629c4c71f68aa1892ef42d18c7c2b8326f460a
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- /^(?!wip-).+$/
|
|
|
|
cache:
|
|
pip: true
|
|
directories:
|
|
- $HOME/virtualenv/python2.7.13/lib/python2.7/site-packages
|
|
- $HOME/virtualenv/python2.7.13/bin/
|
|
|
|
install:
|
|
- scripts/travis_install.sh
|
|
|
|
before_script:
|
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
- chmod +x ./cc-test-reporter
|
|
- ./cc-test-reporter before-build
|
|
|
|
script:
|
|
- scripts/travis_test.sh
|
|
|
|
after_script:
|
|
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|