language: python
python:
- 2.7
install:
- pip install -r requirements.txt
- pip install coverage
- pip install codeclimate-test-reporter
#commands to run tests:
script:
- python mytests.py
- coverage run mytests.py
after_success:
- codeclimate-test-reporter
当Travis执行after_success行时,日志视图会显示以下内容:
/home/travis/build.sh: line 45: codeclimate-test_reporter: command not found
codeclimate-test_reporter
中的下划线。 - Peter Brittain