Skip to content

Commit

Permalink
Fix publish to S3
Browse files Browse the repository at this point in the history
  • Loading branch information
vchimev authored and vchimev committed Jun 29, 2017
1 parent 576c1a0 commit 7a4a1a1
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ env:
- DATE=$(date +%Y-%m-%d)
- PACKAGE_VERSION=$DATE-$TRAVIS_BUILD_NUMBER
- NATIVESCRIPT_SKIP_POSTINSTALL_TASKS=1
- secure: dPOuoYB5u46avjLOuEYbkypB90TO7Yh9FktbnpMA4EZo0x7t/ANq5u6QKQsmcpqM+THPvwJswJKP24HZg5+p03pW/b60HTC+6gK7bzWjCYQVLv3r7l1sZ9U9UTjWY27c0p67ggejNALPOywsvdD3ZgL+xnN5I0e2jJlmM+ZapoU=
language: node_js
node_js:
- '6'
Expand All @@ -16,8 +17,8 @@ before_script:
- npm install grunt
- node_modules/.bin/grunt enableScripts:false
- grunt rebuild
- ./bin/nativescript error-reporting disable # force ~/.local dir creation -- some tests rely on it
- ./bin/nativescript usage-reporting disable
- "./bin/nativescript error-reporting disable"
- "./bin/nativescript usage-reporting disable"
- npm test
- node_modules/.bin/grunt enableScripts:true
script:
Expand All @@ -30,20 +31,20 @@ after_success:
before_deploy:
- node .travis/add-publishConfig.js
deploy:
- provider: s3
bucket: nativescript-ci
access_key_id: AKIAIYSWYOZRFLVKPCTQ
secret_access_key:
secure: THGlblH9XdRcTQMc3jm4kpwCB3myl8MGB3v9XjB5ObK4gqxUxuPi6e158LEG9Dgb730MGEYtaAjc9OneH59WAjQOrdcf3GXiGKOiCYzGYZLqVE4pjNDuxHaVGOj7mso4TzMinMCaDSQajTvadCfVmXqgT6p9eSXkiV3V2d2DN6c=
skip_cleanup: true
local-dir: s3-publish
upload-dir: build_result
on:
branch: master
- provider: npm
skip_cleanup: true
email: nativescript@telerik.com
on:
branch: master
api_key:
secure: KzzsvF3eA3j4gRQa8tO//+XWNSR3XiX8Sa18o3PyKyG9/cBZ6PQ3Te74cNS1C3ZiLUOgs5dWA6/TmRVPci4XjvFaWo/B6e2fuVSl5H94Od99bkeBHJsbLSEkLN4ClV/YbGuyKgA5Q2yIFt6p2EJjL90RjbbIk7I4YuyG2Mo3j0Q=
- provider: s3
bucket: nativescript-ci
access_key_id: AKIAJEB5WNURKRJVFE4A
secret_access_key:
secure: THGlblH9XdRcTQMc3jm4kpwCB3myl8MGB3v9XjB5ObK4gqxUxuPi6e158LEG9Dgb730MGEYtaAjc9OneH59WAjQOrdcf3GXiGKOiCYzGYZLqVE4pjNDuxHaVGOj7mso4TzMinMCaDSQajTvadCfVmXqgT6p9eSXkiV3V2d2DN6c=
skip_cleanup: true
local-dir: s3-publish
upload-dir: build_result
on:
branch: master
- provider: npm
skip_cleanup: true
email: nativescript@telerik.com
on:
branch: master
api_key:
secure: KzzsvF3eA3j4gRQa8tO//+XWNSR3XiX8Sa18o3PyKyG9/cBZ6PQ3Te74cNS1C3ZiLUOgs5dWA6/TmRVPci4XjvFaWo/B6e2fuVSl5H94Od99bkeBHJsbLSEkLN4ClV/YbGuyKgA5Q2yIFt6p2EJjL90RjbbIk7I4YuyG2Mo3j0Q=

0 comments on commit 7a4a1a1

Please sign in to comment.