branches:
  only:
    - master
    - release
    - release-patch
env:
  global:
  - DATE=$(date +%Y-%m-%d)
  - PACKAGE_VERSION=$DATE-$TRAVIS_BUILD_NUMBER
  - NATIVESCRIPT_SKIP_POSTINSTALL_TASKS=1
language: node_js
node_js:
- '8'
git:
  submodules: true
install:
- npm install --ignore-scripts
before_script:
- gem install xcodeproj
- gem install cocoapods
- npm install grunt
script:
- node_modules/.bin/grunt lint && node_modules/.bin/grunt travisPack --no-color
before_deploy:
- node .travis/add-publishConfig.js $TRAVIS_BRANCH
deploy:
- provider: npm
  skip_cleanup: true
  email: nativescript@telerik.com
  on:
    all_branches: true
  api_key:
    secure: "FM9QLOkFq6JpHlfHkT1i2Ht1ZlttZLq7K3kQNLabw7Z5+BPMcy/f3LRJkAkYMezrKLKRkq1uXmhY0BapoTnR9AVEO/t4g6dtbZ1TZ3xBH/HHnFofTFubOrc7+61DJzKduYtnQ/sn3EEOkN8jrXSY9uas4qZh7PSm1hcfjPI8gdI="

branches:
  only:
    - master
    - release
    - release-patch
env:
  global:
  - DATE=$(date +%Y-%m-%d)
  - TIME=$(date +%H%M%S)
  - PACKAGE_VERSION=$DATE-$TIME-$TRAVIS_BUILD_NUMBER
  - NATIVESCRIPT_SKIP_POSTINSTALL_TASKS=1
language: node_js
node_js:
- '8'
git:
  submodules: true
install:
- npm install --ignore-scripts
before_script:
- gem install xcodeproj
- gem install cocoapods
- npm install grunt
script:
- node_modules/.bin/grunt lint && node_modules/.bin/grunt travisPack --no-color
before_deploy:
- node .travis/add-publishConfig.js $TRAVIS_BRANCH
deploy:
- provider: npm
  skip_cleanup: true
  email: nativescript@telerik.com
  on:
    all_branches: true
  api_key:
    secure: "FM9QLOkFq6JpHlfHkT1i2Ht1ZlttZLq7K3kQNLabw7Z5+BPMcy/f3LRJkAkYMezrKLKRkq1uXmhY0BapoTnR9AVEO/t4g6dtbZ1TZ3xBH/HHnFofTFubOrc7+61DJzKduYtnQ/sn3EEOkN8jrXSY9uas4qZh7PSm1hcfjPI8gdI="

Add time to cli version.
Add time to cli version.