Commit b591ce4a5a9518e2c0305df85d7d2799315eeb7b
1 parent
8a10e63106
Rename Travis-CI PPA file to be more descriptive.
Showing 3 changed files with 6 additions and 6 deletions Inline Diff
.travis-ci.sh
1 | #! /bin/sh | File was deleted | |
2 | if [ $PPA != 'none' ];then | ||
3 | sudo apt-add-repository -y $PPA; | ||
4 | sudo apt-get update -qq; | ||
5 | fi | ||
6 | 1 | #! /bin/sh |
.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 | # Add PPA if needed | 21 | # Add PPA if needed |
22 | - "./.travis-ci.sh" | 22 | - "./travis-ppa.sh" |
23 | # Install python requirements. | 23 | # Install python requirements. |
24 | - "pip install -r requirements.txt --use-mirrors" | 24 | - "pip install -r requirements.txt --use-mirrors" |
25 | # Install zsh. | 25 | # Install zsh. |
26 | - "sudo apt-get install zsh" | 26 | - "sudo apt-get install zsh" |
27 | 27 | ||
28 | # Run the tests. | 28 | # Run the tests. |
29 | script: "make tests" | 29 | script: "make tests" |
30 | 30 | ||
31 | env: | 31 | env: |
32 | # Default zsh | 32 | # Default zsh |
33 | - PPA="none" | 33 | - PPA="none" |
34 | # zsh 5 PPA | 34 | # zsh 5 PPA |
35 | - PPA="ppa:brainpower/testing" | 35 | - PPA="ppa:brainpower/testing" |
36 | 36 |
travis-ppa.sh
File was created | 1 | #! /bin/sh | |
2 | if [ $PPA != 'none' ];then | ||
3 | sudo apt-add-repository -y $PPA; | ||
4 | sudo apt-get update -qq; | ||
5 | fi | ||
6 |