Blame view

.travis.yml 716 Bytes
b6f10e7c7   Shrikant Sharat   Add comments to t...
1
  # Using python for running the tests, using `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

56de699f2   Shrikant Sharat   Add a directive t...
8
  before_script:
b6f10e7c7   Shrikant Sharat   Add comments to t...
9
10
  
    # Show the git version being used to test.
56de699f2   Shrikant Sharat   Add a directive t...
11
    - "git --version"
b6f10e7c7   Shrikant Sharat   Add comments to t...
12

436fc76fe   Guilherme Espada   Show zsh version ...
13
14
    # Show the zsh version being used to test.
    - "zsh --version"
b6f10e7c7   Shrikant Sharat   Add comments to t...
15
    # Test config for git.
d36336392   Guilherme Espada   Fix bad git state...
16
17
    - "git config --global user.name test"
    - "git config --global user.email test@test.test"
b6f10e7c7   Shrikant Sharat   Add comments to t...
18

94acbd901   Guilherme Espada   Install zsh in th...
19
  install:
8a10e6310   Guilherme Espada   Fix PPA checking
20
    # Add PPA if needed
b591ce4a5   Guilherme Espada   Rename Travis-CI ...
21
    - "./travis-ppa.sh"
94acbd901   Guilherme Espada   Install zsh in th...
22
23
24
25
    # Install python requirements.
    - "pip install -r requirements.txt --use-mirrors"
    # Install zsh.
    - "sudo apt-get install zsh"
b6f10e7c7   Shrikant Sharat   Add comments to t...
26
27
  
  # Run the tests.
ebc6cef86   Guilherme Espada   Fix interactive t...
28
  script: "make tests"
3df611a3c   Guilherme Espada   Add zsh 5 PPA for...
29
30
31
  
  env:
    # Default zsh
8a10e6310   Guilherme Espada   Fix PPA checking
32
    - PPA="none"
3df611a3c   Guilherme Espada   Add zsh 5 PPA for...
33
    # zsh 5 PPA
8a10e6310   Guilherme Espada   Fix PPA checking
34
    - PPA="ppa:brainpower/testing"