1234567891011121314151617181920212223 |
- before_install:
- # Repo for newer Node.js versions
- - curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
- # Repo for Yarn
- - sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- - sudo apt-get update -qq
- - sudo apt-get install -y -qq yarn
- cache:
- directories:
- - $HOME/.yarn-cache
-
- git:
- depth: 3
-
- branches:
- only:
- - master
-
- language: node_js
- node_js:
- - "node"
|