Skip to content

Commit

Permalink
Install Bikeshed from PyPI instead of Git clone
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed May 5, 2021
1 parent bec4544 commit ef54f2e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@ cache: pip
before_install:
- chmod 755 ./.deploy-output.sh
install:
- pip install --upgrade setuptools
- pip install pygments cssselect html5lib lxml
- git clone --depth=100 --branch=main https://github.com/tabatkins/bikeshed.git ./bikeshed
- pip install --editable ./bikeshed
- pip install bikeshed
- |
if "${USE_BIKESHED_CACHE}"; then
# Use cached copy of bikeshed data files to give consistent builds
#- bikeshed update
cp -R .spec-data/* ./bikeshed/bikeshed/spec-data
cp -R .bikeshed-include/* ./bikeshed/bikeshed/boilerplate/webauthn
rsync -aP --delete .spec-data/ "${VIRTUAL_ENV}"/lib/python3.7/site-packages/bikeshed/spec-data/
rsync -aP --delete .bikeshed-include/ "${VIRTUAL_ENV}"/lib/python3.7/site-packages/bikeshed/boilerplate/webauthn/
fi
script: 'bikeshed spec'
after_success:
Expand Down

0 comments on commit ef54f2e

Please sign in to comment.