language: node_js
cache: yarn
before_install:
  - npm install -g yarn --cache-min "infinity"
node_js:
  - '7'
install:
  - yarn
deploy:
  provider: npm
  email: jacklam718@gmail.com
  api_key: $NPM_TOKEN
  on:
    branch: master
    tags: true
    repo: jacklam718/react-native-button-component

language: node_js
cache: yarn
before_install:
  - npm install -g yarn --cache-min "999999999"
node_js:
  - '7'
install:
  - yarn
deploy:
  provider: npm
  email: jacklam718@gmail.com
  api_key: $NPM_TOKEN
  on:
    branch: master
    tags: true
    repo: jacklam718/react-native-button-component

Fix --cache-min 'infinity' invalid issue for Travis CI
Fix --cache-min 'infinity' invalid issue for Travis CI
