mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 07:30:12 +01:00
Switch back to npm temporarily for CI build
This commit is contained in:
parent
be5f4a5658
commit
e54dcba38e
10
.travis.yml
10
.travis.yml
@ -38,22 +38,22 @@ git:
|
||||
# Cache dependencies
|
||||
cache:
|
||||
pip: true
|
||||
yarn: true
|
||||
# yarn: true
|
||||
directories:
|
||||
- node_modules
|
||||
|
||||
# Install yarn as Travis doesn't support it out of the box
|
||||
before_install:
|
||||
- npm install -g yarn@v0.22.0
|
||||
# before_install:
|
||||
# - npm install -g yarn@v0.22.0
|
||||
|
||||
# Install dependencies
|
||||
install:
|
||||
- yarn install --ignore-optional
|
||||
- npm install --no-optional
|
||||
- pip install --user -r requirements.txt
|
||||
|
||||
# Perform build and tests
|
||||
script:
|
||||
- yarn run build
|
||||
- npm run build
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Additional builds
|
||||
|
Loading…
Reference in New Issue
Block a user