mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 09:20:52 +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 dependencies
|
||||||
cache:
|
cache:
|
||||||
pip: true
|
pip: true
|
||||||
yarn: true
|
# yarn: true
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
|
||||||
# Install yarn as Travis doesn't support it out of the box
|
# Install yarn as Travis doesn't support it out of the box
|
||||||
before_install:
|
# before_install:
|
||||||
- npm install -g yarn@v0.22.0
|
# - npm install -g yarn@v0.22.0
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
install:
|
install:
|
||||||
- yarn install --ignore-optional
|
- npm install --no-optional
|
||||||
- pip install --user -r requirements.txt
|
- pip install --user -r requirements.txt
|
||||||
|
|
||||||
# Perform build and tests
|
# Perform build and tests
|
||||||
script:
|
script:
|
||||||
- yarn run build
|
- npm run build
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Additional builds
|
# Additional builds
|
||||||
|
Loading…
Reference in New Issue
Block a user