From cbd0eb45dee862ec49765333d076db21ac436cef Mon Sep 17 00:00:00 2001 From: gtalarico Date: Tue, 28 Aug 2018 19:31:27 -0400 Subject: [PATCH] Added yarn to travis --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 44da4f7..348e88f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ branches: - master - dev/main script: - - pytest --cov=app/api --cov-report=xml + - pytest --cov=app --cov-report=xml install: - "pip install --upgrade pip" - "pip install pipenv" @@ -17,3 +17,9 @@ install: - "pip install codecov" after_success: - codecov +cache: yarn +before_install: + - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.9.4 + - export PATH="$HOME/.yarn/bin:$PATH" + - yarn install + - yarn build