language : python
python:
  - 3.6
sudo: false
env:
  global:
    - secure: "Y6tBB5CwAxaHPxLzwyyoQKXEwLK68ni8GqzoaYCYbrjLhSFqEDCk6Si7UPmMoED8t7hyxFZofPfEpmOLBoronWUQycnB/K/oxYFfKyEXxNxGpY/iaQk/XCC6rkJ3g863QKdAsgobBgJIClDczZ7leY3RlN+mHfH0wohCBLFAh0E="

script:
  - set -e
  - make html
  - doctr deploy --deploy-repo NSLS-II/NSLS-II.github.io --deploy-branch-name doctr_remote/master .

language : python
python:
  - 3.6
sudo: false
env:
  global:
    - secure: "Y6tBB5CwAxaHPxLzwyyoQKXEwLK68ni8GqzoaYCYbrjLhSFqEDCk6Si7UPmMoED8t7hyxFZofPfEpmOLBoronWUQycnB/K/oxYFfKyEXxNxGpY/iaQk/XCC6rkJ3g863QKdAsgobBgJIClDczZ7leY3RlN+mHfH0wohCBLFAh0E="

script:
  - set -e
  - make html
  - pip uninstall doctr
  - pip install git+https://github.com/danielballan/doctr@76f28b87a104010c0b085e7328aab84131b2b4a1
  - doctr deploy --deploy-repo NSLS-II/NSLS-II.github.io --deploy-branch-name master .

Use danielballan/other-master branch of doctr
HACK: Use danielballan/other-master branch of doctr
