sudo: false
language: python
python:
  - 2.7
addons:
  postgresql: 9.4
env:
  - PLUGIN=livesync
before_install:
  - pip install -U pip setuptools
  # Flask-PluginEngine is not on PyPI yet, so we need to install it from git
  - pip install git+https://github.com/indico/flask-pluginengine.git
  # We can't use pip install indico from Git directly because of cds-indico-extras :(
  - git clone https://github.com/indico/indico.git /tmp/indico
  - cd /tmp/indico
  - pip install -r requirements.txt
  - python setup.py develop
install:
  - cd "${TRAVIS_BUILD_DIR}/${PLUGIN}"
  - python setup.py develop
script:
  - pytest
notifications:
  email: false
  irc:
    channels:
      - 'chat.freenode.net#indico'
    use_notice: true
    skip_join: true

sudo: false
language: python
python:
  - 2.7
addons:
  postgresql: 9.6
env:
  - PLUGIN=livesync
before_install:
  - pip install -U pip setuptools
  - pip install https://github.com/indico/indico/archive/master.zip
install:
  - cd "${TRAVIS_BUILD_DIR}/${PLUGIN}"
  - pip install -e .
script:
  - pytest
notifications:
  email: false
  irc:
    channels:
      - 'chat.freenode.net#indico'
    use_notice: true
    skip_join: true

Install Indico straight from github archive
Install Indico straight from github archive
