Skip to content

Commit

Permalink
Replaced npm install with yarn in travis.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Jan 12, 2018
1 parent edb499a commit 558f932
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
@@ -1,6 +1,7 @@
sudo: required
dist: trusty
language: node_js
cache: yarn
os:
- linux
- osx
Expand All @@ -22,10 +23,10 @@ before_install:
- export DISPLAY=:99.0
- if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
before_script:
- npm install -g @angular/cli
- npm install -g karma
- npm install -g electron-forge
- npm install
- yarn global add @angular/cli
- yarn global add karma
- yarn global add electron-forge
- yarn
- ng build
script:
- ng lint
Expand Down

0 comments on commit 558f932

Please sign in to comment.