sudo: false

language: python

python: "2.7"

# Cache the pip directory. "cache: pip" doesn't work due to install override. See https://github.com/travis-ci/travis-ci/issues/3239.
cache:
  - directories:
    - $HOME/.cache/pip

before_install:
  - curl -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.5.2.zip
  - unzip elasticsearch-1.5.2.zip
  - elasticsearch-1.5.2/bin/elasticsearch -d


install:
  - "pip install -U pip wheel coveralls"
  - make requirements


script: make validate

after_success: coveralls

deploy:
  provider: pypi
  user: edx
  password:
    secure: cMZzzg6zBrw55qlznVKb/3AaRVI9yeN4HhQOOUrGtcsEvamuOGyOXdYwNamKRqTy3VJIjRKVder+kSnEwNGoFPUBUdNIEN70IxyiGcnhLppoIvCw3FO3RI0J2N08oUSoK0nM+ACvNRT+Q2GQj3awyPJyb6J20QixCYvwax/O3v8=
  distributions: "sdist bdist_wheel"
  on:
    tags: true

sudo: false

language: python

python: "2.7"

# Cache the pip directory. "cache: pip" doesn't work due to install override. See https://github.com/travis-ci/travis-ci/issues/3239.
cache:
  - directories:
    - $HOME/.cache/pip

before_install:
  - curl -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.5.2.zip
  - unzip elasticsearch-1.5.2.zip
  - elasticsearch-1.5.2/bin/elasticsearch -d


install:
  - "pip install -U pip wheel coveralls"
  - make requirements


script: make validate

after_success: coveralls

deploy:
  provider: pypi
  user: edx
  password:
    secure: FIBjU6/5WPzUHqNWO9OqPdt3YipxSs7WPTnKMTJwlEvixXCIRkmAXd1CBd7kSYa0GvCfLSei7xLKsgUKaCe+OBsnw/ZDBllZv5EvLJwdKn/EKrPxhxeQ6/SNtqafWQ3mLL1+gosh0RHQdy0HlwwS+m/Qsf+51ohIJVpt+5jwxFA=
  distributions: sdist bdist_wheel
  on:
    tags: true

Update the pypi password (ECOM-3912)
Update the pypi password (ECOM-3912)
