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

f821384d8   Guilherme Espada   Reorganize Travis...
8
9
10
11
12
13
14
15
16
17
18
19
20
  env:
    # Default zsh
    - PPA="none"
    # zsh 5 PPA
    - PPA="ppa:brainpower/testing"
  
  install:
    # Add PPA if needed
    - "./.travis-ci.sh"
    # Install python requirements.
    - "pip install -r requirements.txt --use-mirrors"
    # Install zsh.
    - "sudo apt-get install zsh"
56de699f2   Shrikant Sharat   Add a directive t...
21
  before_script:
b6f10e7c7   Shrikant Sharat   Add comments to t...
22
23
  
    # Show the git version being used to test.
56de699f2   Shrikant Sharat   Add a directive t...
24
    - "git --version"
b6f10e7c7   Shrikant Sharat   Add comments to t...
25

436fc76fe   Guilherme Espada   Show zsh version ...
26
27
    # Show the zsh version being used to test.
    - "zsh --version"
b6f10e7c7   Shrikant Sharat   Add comments to t...
28
    # Test config for git.
d36336392   Guilherme Espada   Fix bad git state...
29
30
    - "git config --global user.name test"
    - "git config --global user.email test@test.test"
b6f10e7c7   Shrikant Sharat   Add comments to t...
31

b6f10e7c7   Shrikant Sharat   Add comments to t...
32
  # Run the tests.
ebc6cef86   Guilherme Espada   Fix interactive t...
33
  script: "make tests"