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