mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 02:54:11 +08:00
Do not publish next version from Travis CI (#4483)
Moving it to Jenkins CI.
This commit is contained in:
26
.travis.yml
26
.travis.yml
@ -1,9 +1,3 @@
|
|||||||
env:
|
|
||||||
global:
|
|
||||||
- DATE=$(date +%Y-%m-%d)
|
|
||||||
- PACKAGE_VERSION=$DATE-$TRAVIS_BUILD_NUMBER
|
|
||||||
- PACKAGE_NAME=tns-core-modules
|
|
||||||
- NODE_VERSION=6.9.4
|
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- '6'
|
- '6'
|
||||||
@ -12,24 +6,4 @@ before_script:
|
|||||||
- npm install
|
- npm install
|
||||||
script:
|
script:
|
||||||
- grunt default
|
- grunt default
|
||||||
- FULL_PACKAGE_VERSION=$(node build/version.js)
|
|
||||||
- (cd tns-platform-declarations && npm pack)
|
- (cd tns-platform-declarations && npm pack)
|
||||||
before_deploy:
|
|
||||||
- mv bin/dist/$PACKAGE_NAME-$FULL_PACKAGE_VERSION.tgz ../.deploymentpackage
|
|
||||||
- mv build ../
|
|
||||||
- cd ..
|
|
||||||
- rm -rf NativeScript
|
|
||||||
- tar -zxvf .deploymentpackage
|
|
||||||
- mv package $PACKAGE_NAME
|
|
||||||
- cd $PACKAGE_NAME
|
|
||||||
- rm ../.deploymentpackage
|
|
||||||
- mv ../build ./
|
|
||||||
- node ./build/travis-scripts/add-publishConfig.js next
|
|
||||||
deploy:
|
|
||||||
provider: npm
|
|
||||||
email: nativescript@telerik.com
|
|
||||||
on:
|
|
||||||
branch: master
|
|
||||||
skip_cleanup: true
|
|
||||||
api_key:
|
|
||||||
secure: VJksODKcxXltNTU1Unv4V3qZMI5rrAupuxnCUpIBxks6azi6/FvcW6ctMOj5wPQ9cQKPa8SgaKF/ksyueTmcUt+RznBWbGJ3lxe+6MF0Uk7OI3M3Ga8Ke/21KcZ1oIysgZ0JGCmyR9iAIoSHK1KarIYfiYo9dGWOSuDkqJzLTjk=
|
|
||||||
|
Reference in New Issue
Block a user