Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Commit

Permalink
chore: replace npm with yarn (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasticFiasco committed Jun 30, 2017
1 parent cd375a9 commit 56b5665
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2,568 deletions.
16 changes: 9 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@ matrix:
fast_finish: true

before_install:
- npm install -g greenkeeper-lockfile@1
- yarn global add greenkeeper-lockfile@1

install:
- npm install
- yarn install

before_script: greenkeeper-lockfile-update
before_script:
- greenkeeper-lockfile-update

script:
- echo -e "$(curl --silent https://raw.githubusercontent.com/FantasticFiasco/logo/master/logo.ansi)"
- if [ "$TRAVIS_NODE_VERSION" == "node" ]; then npm run coverage:publish; fi
- if [ "$TRAVIS_NODE_VERSION" != "node" ]; then npm run test; fi
- npm run lint
- if [ "$TRAVIS_NODE_VERSION" == "node" ]; then yarn run coverage:publish; fi
- if [ "$TRAVIS_NODE_VERSION" != "node" ]; then yarn run test; fi
- yarn run lint

after_script: greenkeeper-lockfile-upload
after_script:
- greenkeeper-lockfile-upload
Loading

0 comments on commit 56b5665

Please sign in to comment.