Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Commit

Permalink
Use Travis cache for yarn and hopefully speed up the build (#407)
Browse files Browse the repository at this point in the history
This also makes sure that we use the right version of node in the shells by
setting the right nvm alias.
  • Loading branch information
arichiardi authored and anmonteiro committed May 17, 2018
1 parent 658732f commit 3e1ed4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ cache:
- tmp
- "~/.boot/cache/lib"
- "~/.boot/cache/bin"
- yarn
before_install:
- find tmp -mindepth 2 -maxdepth 2 -and -not -name ${BUILD_NODE_VERSION} -exec rm -rv {} ';'
- sudo fallocate -l 4G /swapfile
Expand All @@ -31,8 +32,8 @@ before_install:
- curl -sSL https://raw.githubusercontent.com/cljs-oss/canary/master/scripts/install-canary.sh | bash
- wget https://github.com/boot-clj/boot-bin/releases/download/latest/boot.sh
- mv boot.sh boot && chmod a+x boot && sudo mv boot /usr/local/bin
- nvm install ${BUILD_NODE_VERSION} && nvm alias default ${BUILD_NODE_VERSION}
install:
- boot
- yarn install
script:
- yarn lint
Expand Down

0 comments on commit 3e1ed4c

Please sign in to comment.