Commit 8a10e63106739978c04605d2811956e5f54e37f5
1 parent
3df611a3c9
Fix PPA checking
Showing 2 changed files with 9 additions and 4 deletions Side-by-side Diff
.travis-ci.sh
.travis.yml
| ... | ... | @@ -18,18 +18,18 @@ before_script: |
| 18 | 18 | - "git config --global user.email test@test.test" |
| 19 | 19 | |
| 20 | 20 | install: |
| 21 | + # Add PPA if needed | |
| 22 | + - "./.travis-ci.sh" | |
| 21 | 23 | # Install python requirements. |
| 22 | 24 | - "pip install -r requirements.txt --use-mirrors" |
| 23 | 25 | # Install zsh. |
| 24 | 26 | - "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' | |
| 27 | 27 | |
| 28 | 28 | # Run the tests. |
| 29 | 29 | script: "make tests" |
| 30 | 30 | |
| 31 | 31 | env: |
| 32 | 32 | # Default zsh |
| 33 | - - PPA = "none" | |
| 33 | + - PPA="none" | |
| 34 | 34 | # zsh 5 PPA |
| 35 | - - PPA = "ppa:brainpower/testing" | |
| 35 | + - PPA="ppa:brainpower/testing" |