Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #126 from edx/benp/publish-pypi-via-travis
Browse files Browse the repository at this point in the history
Publish to Pypi with Travis.
  • Loading branch information
Ben Patterson committed Jan 20, 2016
2 parents 881bcbf + 60ace49 commit 0e0190f
Showing 1 changed file with 23 additions and 15 deletions.
38 changes: 23 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
language: python
python: "2.7"
python: '2.7'
sudo: false
branches:
only:
- master
only:
- master
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
addons:
firefox: "28.0"
firefox: '28.0'
install:
- "pip install -r test_requirements.txt"
- "pip install -r requirements.txt"
- "pip install -r doc_requirements.txt"
- "./scripts/install_browsermob_proxy.sh"
- pip install -r test_requirements.txt
- pip install -r requirements.txt
- pip install -r doc_requirements.txt
- ./scripts/install_browsermob_proxy.sh
script:
- "pylint bok_choy"
- "export PATH=browsermobtemp/browsermob-proxy/bin:$PATH"
- "./run_tests.sh"
- pylint bok_choy
- export PATH=browsermobtemp/browsermob-proxy/bin:$PATH
- ./run_tests.sh
after_success:
- "pip install coveralls"
- coveralls
- pip install coveralls
- coveralls
deploy:
provider: pypi
user: edx
password:
secure: o6nRxgpLeCLLh1yerbXvWOi95wyPGzuP+d1CpjeSq5bLYKpij+IDzpWZxSO+OzQWoUFVmFkv+3h1U9W2Awzc6ptl0MCJjTBxBmMmrrgodPPg1gHhQe0Da+Fqw2MTcv5UK4yUoJ5AGtj0N2XZhKMl00pvU10AVSVV1Izm61CLn9c=
distributions: sdist
on:
tags: true

0 comments on commit 0e0190f

Please sign in to comment.