language: python
python: 2.7
cache:
  directories:
    - $HOME/.cache/pip
    - $HOME/.cache/lektor/builds
install:
  - "pip install -U pip"
  - "pip install 'Lektor>=3'"
script: "lektor build"
deploy:
  - provider: script
    script: "lektor deploy staging"
    on:
       branch: develop
  - provider: script
    script: "lektor deploy production"
    on:
       branch: production

language: python
python: 3.6
cache:
  directories:
    - $HOME/.cache/pip
    - $HOME/.cache/lektor/builds
install:
  - "pip install -U pip"
  - "pip install git+https://github.com/lektor/lektor#egg=Lektor"
script: "lektor build"
deploy:
  - provider: script
    script: "lektor deploy staging"
    on:
       branch: develop
  - provider: script
    script: "lektor deploy production"
    on:
       branch: production

Build using python3, and lektor from github (because a bugfix with gihtub credentials is only present in lektor master)
Build using python3, and lektor from github (because a bugfix with gihtub credentials is only present in lektor master)
