Commit b6f10e7c7f8409ce54a4a8655294dc163c04ac13
1 parent
56de699f21
Add comments to travis config.
Showing 1 changed file with 14 additions and 0 deletions Inline Diff
.travis.yml
| 1 | # Using python for running the tests, using `cram` test framework. | ||
| 1 | language: python | 2 | language: python |
| 3 | |||
| 4 | # Python version to run tests with. | ||
| 2 | python: | 5 | python: |
| 3 | - "2.7" | 6 | - "2.7" |
| 7 | |||
| 4 | before_script: | 8 | before_script: |
| 9 | |||
| 10 | # Show the git version being used to test. | ||
| 5 | - "git --version" | 11 | - "git --version" |
| 12 | |||
| 13 | # Install zsh. | ||
| 6 | - "sudo apt-get install zsh" | 14 | - "sudo apt-get install zsh" |
| 15 | |||
| 16 | # Test config for git. | ||
| 7 | - "git config --global user.name test" | 17 | - "git config --global user.name test" |
| 8 | - "git config --global user.email test@test.test" | 18 | - "git config --global user.email test@test.test" |
| 19 | |||
| 20 | # Install python requirements. | ||
| 9 | install: "pip install -r requirements.txt --use-mirrors" | 21 | install: "pip install -r requirements.txt --use-mirrors" |
| 22 | |||
| 23 | # Run the tests. | ||
| 10 | script: "make tests" | 24 | script: "make tests" |
| 11 | 25 |