Blame view
.travis.yml
716 Bytes
|
b6f10e7c7
|
1 |
# Using python for running the tests, using `cram` test framework. |
|
9948f3ed0
|
2 |
language: python |
|
b6f10e7c7
|
3 4 |
# Python version to run tests with. |
|
9948f3ed0
|
5 6 |
python:
- "2.7"
|
|
b6f10e7c7
|
7 |
|
|
56de699f2
|
8 |
before_script: |
|
b6f10e7c7
|
9 10 |
# Show the git version being used to test.
|
|
56de699f2
|
11 |
- "git --version" |
|
b6f10e7c7
|
12 |
|
|
436fc76fe
|
13 14 |
# Show the zsh version being used to test.
- "zsh --version"
|
|
b6f10e7c7
|
15 |
# Test config for git. |
|
d36336392
|
16 17 |
- "git config --global user.name test"
- "git config --global user.email test@test.test"
|
|
b6f10e7c7
|
18 |
|
|
94acbd901
|
19 |
install: |
|
8a10e6310
|
20 |
# Add PPA if needed |
|
b591ce4a5
|
21 |
- "./travis-ppa.sh" |
|
94acbd901
|
22 23 24 25 |
# Install python requirements.
- "pip install -r requirements.txt --use-mirrors"
# Install zsh.
- "sudo apt-get install zsh"
|
|
b6f10e7c7
|
26 27 |
# Run the tests. |
|
ebc6cef86
|
28 |
script: "make tests" |
|
3df611a3c
|
29 30 31 |
env:
# Default zsh
|
|
8a10e6310
|
32 |
- PPA="none" |
|
3df611a3c
|
33 |
# zsh 5 PPA |
|
8a10e6310
|
34 |
- PPA="ppa:brainpower/testing" |