From fb3c38177cbad9a325e94590d9b5a847ca83a4e7 Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Fri, 12 Jul 2013 12:17:21 +0300 Subject: [PATCH] better formatting in travis.yml [skip ci] --- .travis.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3a728163..5124f938 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ --- language: node_js node_js: -- 0.1 +- "0.10" env: global: - "ARTIFACTS_S3_BUCKET=leaflet-cdn" @@ -13,7 +13,14 @@ env: EQ4c2c8VklzFZRxKnizI0/VK0anHhlyc1Rv0vqkMj/YPKxmbWNfOlsOCN2gM p+q8QzCG1Np9D1Kq9K0miYqHgZxgu4D/4Mwy04bh1UfyoUcDfB1tJmEtsKY/ 8Bl46ZfhxbTG39b6Y315GuU+49QdFMEXhSqx/G7on1xC4aYLXLc= -before_script: -- "test ${TRAVIS_BRANCH} = master || test ${TRAVIS_BRANCH} = stable && test ${TRAVIS_PULL_REQUEST} = false && gem install travis-artifacts" -after_success: -- "test ${TRAVIS_BRANCH} = master || test ${TRAVIS_BRANCH} = stable && test ${TRAVIS_PULL_REQUEST} = false && cd dist && zip -x .DS_Store -r leaflet-${TRAVIS_BRANCH}.zip . && travis-artifacts upload --path leaflet-${TRAVIS_BRANCH}.zip --target-path build && echo uploaded" +before_script: > + test ${TRAVIS_BRANCH} = master || + test ${TRAVIS_BRANCH} = stable && + test ${TRAVIS_PULL_REQUEST} = false && + gem install travis-artifacts +after_success: > + test ${TRAVIS_BRANCH} = master || + test ${TRAVIS_BRANCH} = stable && + test ${TRAVIS_PULL_REQUEST} = false && + cd dist && zip -x .DS_Store -r leaflet-${TRAVIS_BRANCH}.zip . && + travis-artifacts upload --path leaflet-${TRAVIS_BRANCH}.zip --target-path build