mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 15:12:20 +00:00 
			
		
		
		
	Run flake8 using Travis CI
This commit is contained in:
		| @@ -34,11 +34,13 @@ before_install: | |||||||
|   - if [[ $TRAVIS_OS_NAME == "osx" ]]; then source venv/bin/activate; fi |   - if [[ $TRAVIS_OS_NAME == "osx" ]]; then source venv/bin/activate; fi | ||||||
|   - pip install -U pip |   - pip install -U pip | ||||||
|   - pip install -U coveralls |   - pip install -U coveralls | ||||||
|  |   - pip install -U flake8 | ||||||
| install: | install: | ||||||
|   - pip install -Ur requirements.txt |   - pip install -Ur requirements.txt | ||||||
|   - python setup.py develop |   - python setup.py develop | ||||||
|   - rm -rf build |   - rm -rf build | ||||||
| script: | script: | ||||||
|  |   - flake8 | ||||||
|   - export COVERAGE_PYTHON_VERSION=python-${TRAVIS_PYTHON_VERSION:0:1} |   - export COVERAGE_PYTHON_VERSION=python-${TRAVIS_PYTHON_VERSION:0:1} | ||||||
|   - export RUN_TESTS="coverage run --source=thefuck,tests -m py.test -v --capture=sys tests" |   - export RUN_TESTS="coverage run --source=thefuck,tests -m py.test -v --capture=sys tests" | ||||||
|   - if [[ $TRAVIS_PYTHON_VERSION == 3.5 && $TRAVIS_OS_NAME != "osx" ]]; then $RUN_TESTS --enable-functional; fi |   - if [[ $TRAVIS_PYTHON_VERSION == 3.5 && $TRAVIS_OS_NAME != "osx" ]]; then $RUN_TESTS --enable-functional; fi | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user