Skip to content

Commit

Permalink
ci/travis: Use yarn's cache directive in examples (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinji authored and Daniel15 committed Feb 15, 2017
1 parent d8a0ac0 commit 7ac19dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lang/en/docs/_ci/travis.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ before_install: # if "install" is overridden
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
cache:
directories:
- $HOME/.cache/yarn
yarn: true
```
{% include_relative _ci/deb-specific-version.md %}
Expand All @@ -34,4 +33,6 @@ sudo: false
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
cache:
yarn: true
```

0 comments on commit 7ac19dc

Please sign in to comment.