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

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

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

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

Install doctr from PR branch instead of specific commit on that branch.
BLD: Install doctr from PR branch instead of specific commit on that branch.
