1
0
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:
squidfunk 2017-03-16 12:44:05 +01:00
parent be5f4a5658
commit e54dcba38e

View File

@ -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