diff options
author | Frantisek Sumsal <fsumsal@redhat.com> | 2019-01-15 14:35:27 +0100 |
---|---|---|
committer | Lukáš Nykrýn <lnykryn@redhat.com> | 2019-01-17 13:36:59 +0100 |
commit | a7f87d13f6f7dd92e1f1f7617df531fa34c70b6d (patch) | |
tree | 5b45d641796eef4fde394a7399de11cb3bb47c57 /.travis.yml | |
parent | 2d674d48e9ca48e3bb126f20b59334100d926a23 (diff) | |
download | systemd-a7f87d13f6f7dd92e1f1f7617df531fa34c70b6d.tar.gz |
travis: fix syntax error in .travis.yml
(cherry picked from commit 7f9d44f527ea214347f7d3b3b067f84df53feed7)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 1c4e6f9728..c5c9c345a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,7 @@ jobs: - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce - docker --version install: - - RHEL_VERSION="rhel7" - - [ -f meson.build ] && RHEL_VERSION="rhel8" + - if [ -f meson.build ]; then RHEL_VERSION=rhel8; else RHEL_VERSION=rhel7; fi - $CI_ROOT/travis-centos-${RHEL_VERSION}.sh SETUP script: - set -e |