forked from w3c/webauthn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (29 loc) · 885 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: python
python:
- "3.7"
env:
- USE_BIKESHED_CACHE=true
- USE_BIKESHED_CACHE=false
matrix:
fast_finish: true
allow_failures:
- env: USE_BIKESHED_CACHE=false
sudo: false
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=master https://github.com/tabatkins/bikeshed.git ./bikeshed
- pip install --editable ./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
fi
script: 'bikeshed spec'
after_success:
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ] && ./.deploy-output.sh'