mirror of
https://github.com/docker/compose.git
synced 2025-07-21 20:54:32 +02:00
Fix pull requests failing on travis
This commit is contained in:
parent
715e29d7ba
commit
ab145b5365
@ -12,13 +12,13 @@ install:
|
|||||||
- sudo curl -L -o /usr/local/bin/orchard https://github.com/orchardup/go-orchard/releases/download/2.0.5/linux
|
- sudo curl -L -o /usr/local/bin/orchard https://github.com/orchardup/go-orchard/releases/download/2.0.5/linux
|
||||||
- sudo chmod +x /usr/local/bin/orchard
|
- sudo chmod +x /usr/local/bin/orchard
|
||||||
before_script:
|
before_script:
|
||||||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && orchard hosts rm -f $TRAVIS_JOB_ID'
|
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then orchard hosts rm -f $TRAVIS_JOB_ID || true; fi'
|
||||||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && orchard hosts create $TRAVIS_JOB_ID || false'
|
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then orchard hosts create $TRAVIS_JOB_ID; fi'
|
||||||
script:
|
script:
|
||||||
- nosetests tests/unit
|
- nosetests tests/unit
|
||||||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && script/travis-integration || false'
|
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then script/travis-integration; fi'
|
||||||
after_script:
|
after_script:
|
||||||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && orchard hosts rm -f $TRAVIS_JOB_ID || false'
|
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then orchard hosts rm -f $TRAVIS_JOB_ID; fi'
|
||||||
deploy:
|
deploy:
|
||||||
provider: pypi
|
provider: pypi
|
||||||
user: orchard
|
user: orchard
|
||||||
|
Loading…
x
Reference in New Issue
Block a user