Blame view

.travis.yml 720 Bytes
0f837fb0d   Guilherme Espada   Fix grammar
1
  # Using python for running the tests, using the `cram` test framework.
9948f3ed0   Shrikant Sharat   Initial travis ci...
2
  language: python
b6f10e7c7   Shrikant Sharat   Add comments to t...
3
4
  
  # Python version to run tests with.
9948f3ed0   Shrikant Sharat   Initial travis ci...
5
6
  python:
    - "2.7"
b6f10e7c7   Shrikant Sharat   Add comments to t...
7

f821384d8   Guilherme Espada   Reorganize Travis...
8
9
10
11
12
  env:
    # Default zsh
    - PPA="none"
    # zsh 5 PPA
    - PPA="ppa:brainpower/testing"
56de699f2   Shrikant Sharat   Add a directive t...
13
  before_script:
b6f10e7c7   Shrikant Sharat   Add comments to t...
14
15
  
    # Show the git version being used to test.
56de699f2   Shrikant Sharat   Add a directive t...
16
    - "git --version"
b6f10e7c7   Shrikant Sharat   Add comments to t...
17

436fc76fe   Guilherme Espada   Show zsh version ...
18
19
    # Show the zsh version being used to test.
    - "zsh --version"
b6f10e7c7   Shrikant Sharat   Add comments to t...
20
    # Test config for git.
d36336392   Guilherme Espada   Fix bad git state...
21
22
    - "git config --global user.name test"
    - "git config --global user.email test@test.test"
b6f10e7c7   Shrikant Sharat   Add comments to t...
23

94acbd901   Guilherme Espada   Install zsh in th...
24
  install:
8a10e6310   Guilherme Espada   Fix PPA checking
25
    # Add PPA if needed
b591ce4a5   Guilherme Espada   Rename Travis-CI ...
26
    - "./travis-ppa.sh"
94acbd901   Guilherme Espada   Install zsh in th...
27
28
29
30
    # Install python requirements.
    - "pip install -r requirements.txt --use-mirrors"
    # Install zsh.
    - "sudo apt-get install zsh"
b6f10e7c7   Shrikant Sharat   Add comments to t...
31
32
  
  # Run the tests.
ebc6cef86   Guilherme Espada   Fix interactive t...
33
  script: "make tests"