Skip to content

Commit cb86fde

Browse files
committed
put travis sciprts as one line for and conditions to work
1 parent 810ecad commit cb86fde

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ env:
1414
p+q8QzCG1Np9D1Kq9K0miYqHgZxgu4D/4Mwy04bh1UfyoUcDfB1tJmEtsKY/
1515
8Bl46ZfhxbTG39b6Y315GuU+49QdFMEXhSqx/G7on1xC4aYLXLc=
1616
before_script:
17-
- "test ${TRAVIS_BRANCH} = master || test ${TRAVIS_BRANCH} = stable && test ${TRAVIS_PULL_REQUEST} = false &&"
18-
- "gem install travis-artifacts"
17+
- "test ${TRAVIS_BRANCH} = master || test ${TRAVIS_BRANCH} = stable && test ${TRAVIS_PULL_REQUEST} = false && gem install travis-artifacts"
1918
after_success:
20-
- "test ${TRAVIS_BRANCH} = master || test ${TRAVIS_BRANCH} = stable && test ${TRAVIS_PULL_REQUEST} = false &&"
21-
- "cd dist && zip -x .DS_Store -r leaflet-${TRAVIS_BRANCH}.zip . &&"
22-
- "travis-artifacts upload --path leaflet-${TRAVIS_BRANCH}.zip --target-path build"
19+
- "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"

0 commit comments

Comments
 (0)