Created
October 29, 2016 20:46
-
-
Save ericelliott/070750b292583ac8849d0de93f68f7ce to your computer and use it in GitHub Desktop.
Using Yarn on Travis-CI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: node_js | |
node_js: | |
- "6" | |
env: | |
- CXX=g++-4.8 | |
addons: | |
apt: | |
sources: | |
- ubuntu-toolchain-r-test | |
packages: | |
- g++-4.8 | |
before_install: | |
- npm install -g yarn --cache-min 999999999 | |
install: | |
- yarn |
For anyone looking into this now:
Using npm to install yarn has blown up everything. yarnpkg/yarn#2915
Nowadays, Yarn comes preinstalled when using language: node_js
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exact same question as @balupton.
g++
is required for building native deps. mostly 😕