Blame view
.travis.yml
797 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 20 21 22 23 |
install:
# Install python requirements.
- "pip install -r requirements.txt --use-mirrors"
# Install zsh.
- "sudo apt-get install zsh"
|
|
3df611a3c
|
24 25 |
# Add PPA if needed
- 'if [ "$PPA" != "none" ]; then sudo apt-add-repository -y "$PPA"; sudo apt-get update -qq; fi'
|
|
b6f10e7c7
|
26 27 |
# Run the tests. |
|
ebc6cef86
|
28 |
script: "make tests" |
|
3df611a3c
|
29 30 31 32 33 34 |
env:
# Default zsh
- PPA = "none"
# zsh 5 PPA
- PPA = "ppa:brainpower/testing"
|