This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #126 from edx/benp/publish-pypi-via-travis
Publish to Pypi with Travis.
- Loading branch information
Showing
1 changed file
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |