ci: travis: merge two if clauses
authorStefan Schmidt <s.schmidt@samsung.com>
Thu, 12 Dec 2019 08:30:13 +0000 (09:30 +0100)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 18 Dec 2019 20:56:34 +0000 (05:56 +0900)
A left-over from the various works in this file. All of these commands
are under the same conditions.

Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D10864

.travis.yml

index 1b77b81..15a5aeb 100644 (file)
@@ -91,9 +91,6 @@ before_script:
   - |
       if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then
         docker pull stefanschmidt1/ci-support-files:$DISTRO
-      fi
-  - |
-      if [[ "$TRAVIS_OS_NAME" == "linux" ]] ; then
         docker version
         docker run --cidfile $HOME/cid -t -d -v `pwd`:/src -v $HOME/.ccache:/root/.ccache -w /src stefanschmidt1/ci-support-files:$DISTRO bash
       fi