put travis sciprts as one line for and conditions to work
This commit is contained in:
parent
810ecadb4e
commit
cb86fdeab9
@ -14,9 +14,6 @@ env:
|
|||||||
p+q8QzCG1Np9D1Kq9K0miYqHgZxgu4D/4Mwy04bh1UfyoUcDfB1tJmEtsKY/
|
p+q8QzCG1Np9D1Kq9K0miYqHgZxgu4D/4Mwy04bh1UfyoUcDfB1tJmEtsKY/
|
||||||
8Bl46ZfhxbTG39b6Y315GuU+49QdFMEXhSqx/G7on1xC4aYLXLc=
|
8Bl46ZfhxbTG39b6Y315GuU+49QdFMEXhSqx/G7on1xC4aYLXLc=
|
||||||
before_script:
|
before_script:
|
||||||
- "test ${TRAVIS_BRANCH} = master || test ${TRAVIS_BRANCH} = stable && test ${TRAVIS_PULL_REQUEST} = false &&"
|
- "test ${TRAVIS_BRANCH} = master || test ${TRAVIS_BRANCH} = stable && test ${TRAVIS_PULL_REQUEST} = false && gem install travis-artifacts"
|
||||||
- "gem install travis-artifacts"
|
|
||||||
after_success:
|
after_success:
|
||||||
- "test ${TRAVIS_BRANCH} = master || test ${TRAVIS_BRANCH} = stable && test ${TRAVIS_PULL_REQUEST} = false &&"
|
- "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"
|
||||||
- "cd dist && zip -x .DS_Store -r leaflet-${TRAVIS_BRANCH}.zip . &&"
|
|
||||||
- "travis-artifacts upload --path leaflet-${TRAVIS_BRANCH}.zip --target-path build"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user