Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Install yarn using apt, upgrade node, add workaround

Patryk Zawadzki56eb0d21beda
diff --git a/.travis.yml b/.travis.yml
index cd583650ca..9b9443b297 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,16 +8,19 @@ addons:
apt:
sources:
- deadsnakes
+ - sourceline: 'deb https://dl.yarnpkg.com/debian/ stable main'
+ key_url: 'https://dl.yarnpkg.com/debian/pubkey.gpg'
packages:
- python3.5
- python3.5-dev
+ - yarn
install:
- pip install -U pip setuptools wheel
- pip install tox codecov
- - nvm install 4.4.7
- - npm install -g yarn
- - yarn install
- - npm run build-assets
+ - nvm install 6
+ - yarn
+ - yarn add --force node-sass # force our way around https://github.com/yarnpkg/yarn/issues/1981
+ - yarn run build-assets
script:
- tox
env: