Fixed missing yarn in Travis

This commit is contained in:
squidfunk 2017-02-09 18:10:27 +01:00
parent 038288d489
commit 57871449ea

View File

@ -54,12 +54,14 @@ cache:
directories: directories:
- node_modules - node_modules
# Install yarn, as Travis doesn't support it out of the box
before_install: npm install -g yarn
# Do not install optional dependencies by default # Do not install optional dependencies by default
install: yarn install --ignore-optional install: yarn install --ignore-optional
# Install dependencies # Install dependencies
before_script: before_script: pip install --user -r requirements.txt
- pip install --user -r requirements.txt
# Perform build and tests # Perform build and tests
script: yarn run build script: yarn run build