language: python
sudo: false

install:
  - pip install --upgrade pip
  - pip install --upgrade tox

script:
  - tox -e py26
  - tox -e py27
  - tox -e py34
  - tox -e lint
  - tox -e system-tests
  - tox -e system-tests3
  - scripts/update_docs.sh
  - scripts/update_json_docs.sh

after_success:
  - tox -e coveralls
  - tox -e codecov

deploy:
  provider: pypi
  user: silvolu
  password:
    secure: keSFPLzVj/yAAJ8kw4m+U5kpIiGqubpDqhcHPlGAvMohFMIO4D8ffgCqJdbhQshTtb/wiS5ajK1KNpEzq4BKD/5oRXuj/sIRTMENzX/azUXkT/bADLEGocyfE4/NAGQ9mcDOmHntjt7UUhYN6H87rgex22er4V1vD5tGf5Kc1HU=
  on:
    tags: true
    repo: GoogleCloudPlatform/gcloud-python
    # until this is fixed: https://github.com/travis-ci/travis-ci/issues/1675
    all_branches: true
  # 'bdist_wheel' builds disabled until #1879 et al. are resolved.
  distributions: "sdist"

cache:
  directories:
    - ${HOME}/.cache/pip

language: python
sudo: false

install:
  - pip install --upgrade pip
  - pip install --upgrade tox

script:
  - tox -e py26
  - tox -e py27
  - tox -e py34
  - tox -e lint
  - tox -e system-tests
  - tox -e system-tests3
  - scripts/update_json_docs.sh

after_success:
  - tox -e coveralls
  - tox -e codecov

deploy:
  provider: pypi
  user: silvolu
  password:
    secure: keSFPLzVj/yAAJ8kw4m+U5kpIiGqubpDqhcHPlGAvMohFMIO4D8ffgCqJdbhQshTtb/wiS5ajK1KNpEzq4BKD/5oRXuj/sIRTMENzX/azUXkT/bADLEGocyfE4/NAGQ9mcDOmHntjt7UUhYN6H87rgex22er4V1vD5tGf5Kc1HU=
  on:
    tags: true
    repo: GoogleCloudPlatform/gcloud-python
    # until this is fixed: https://github.com/travis-ci/travis-ci/issues/1675
    all_branches: true
  # 'bdist_wheel' builds disabled until #1879 et al. are resolved.
  distributions: "sdist"

cache:
  directories:
    - ${HOME}/.cache/pip

Remove old gh-pages doc build script.
Remove old gh-pages doc build script.
