language: python
python:
    - "2.7"

install: 
    - sudo apt-get update
    - sudo apt-get install -y swig libvomsapi1
    - git clone https://github.com/openstack/keystone/ -b stable/icehouse /tmp/keystone/
    - pip install -r /tmp/keystone/requirements.txt
    - pip install -r /tmp/keystone/test-requirements.txt
    - pip install -r requirements.txt
    - pip install .
    - cp tests/*py /tmp/keystone/keystone/tests
    - cp tests/config_files/* /tmp/keystone/keystone/tests/config_files

script:
    - pep8 keystone_voms
    - cd /tmp/keystone/
    - nosetests keystone.tests.test_middleware_voms_authn

language: python
python:
    - "2.7"

install: 
    - sudo apt-get update
    - sudo apt-get install -y swig libvomsapi1
    - git clone https://github.com/openstack/keystone/ /tmp/keystone/
    - pip install -r /tmp/keystone/requirements.txt
    - pip install -r /tmp/keystone/test-requirements.txt
    - pip install -r requirements.txt
    - pip install .
    - cp tests/*py /tmp/keystone/keystone/tests
    - cp tests/config_files/* /tmp/keystone/keystone/tests/config_files

script:
    - pep8 keystone_voms
    - cd /tmp/keystone/
    - nosetests keystone.tests.test_middleware_voms_authn

Use master branch in keystone.
Use master branch in keystone.
