Commit 3df611a3c992dca7c717880103aaf0b80c723841
1 parent
94acbd9015
Add zsh 5 PPA for testing
Showing 1 changed file with 8 additions and 0 deletions Inline Diff
.travis.yml
1 | # Using python for running the tests, using `cram` test framework. | 1 | # Using python for running the tests, using `cram` test framework. |
2 | language: python | 2 | language: python |
3 | 3 | ||
4 | # Python version to run tests with. | 4 | # Python version to run tests with. |
5 | python: | 5 | python: |
6 | - "2.7" | 6 | - "2.7" |
7 | 7 | ||
8 | before_script: | 8 | before_script: |
9 | 9 | ||
10 | # Show the git version being used to test. | 10 | # Show the git version being used to test. |
11 | - "git --version" | 11 | - "git --version" |
12 | 12 | ||
13 | # Show the zsh version being used to test. | 13 | # Show the zsh version being used to test. |
14 | - "zsh --version" | 14 | - "zsh --version" |
15 | 15 | ||
16 | # Test config for git. | 16 | # Test config for git. |
17 | - "git config --global user.name test" | 17 | - "git config --global user.name test" |
18 | - "git config --global user.email test@test.test" | 18 | - "git config --global user.email test@test.test" |
19 | 19 | ||
20 | install: | 20 | install: |
21 | # Install python requirements. | 21 | # Install python requirements. |
22 | - "pip install -r requirements.txt --use-mirrors" | 22 | - "pip install -r requirements.txt --use-mirrors" |
23 | # Install zsh. | 23 | # Install zsh. |
24 | - "sudo apt-get install zsh" | 24 | - "sudo apt-get install zsh" |
25 | # Add PPA if needed | ||
26 | - 'if [ "$PPA" != "none" ]; then sudo apt-add-repository -y "$PPA"; sudo apt-get update -qq; fi' | ||
25 | 27 | ||
26 | # Run the tests. | 28 | # Run the tests. |
27 | script: "make tests" | 29 | script: "make tests" |
30 | |||
31 | env: | ||
32 | # Default zsh | ||
33 | - PPA = "none" | ||
34 | # zsh 5 PPA | ||
35 | - PPA = "ppa:brainpower/testing" | ||
28 | 36 |