Commit 31f3c1e

mo <mo.khan@gmail.com>
2018-12-08 05:13:19
yarn should be installed on all images.
* https://github.com/travis-ci/travis-ci/issues/7747#issuecomment-351515890
1 parent 8968427
Changed files (1)
.travis.yml
@@ -6,13 +6,9 @@ addons:
 rvm:
   - 2.5.3
 before_script:
-  - curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
-  - wget -q -O - https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
-  - sudo echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
-  - sudo apt-get update -qq
-  - sudo apt-get install -y -qq yarn
   - psql -c 'create database proof;' -U postgres
   - ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver
+  - yarn install
 env:
   - DATABASE_URL=postgres://postgres@localhost/proof
 script: