Skip to contentSkip to conversation

travis: Use official opensuse images

PATCH New Petr Vorel 2 participants 3 messages Mar 1, 2019

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 travis: Use official opensuse images

We're using deprecated opensuse images [1] [2] which has been now removed, which cause travis failures. Replace them with the official ones.

[1] https://hub.docker.com/_/opensuse/
[2] https://github.com/docker-library/official-images/issues/5371

---
https://travis-ci.org/pevik/ltp/builds/500273788

---
 .travis.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
.travis.yml +3 -2
index 24de925b0..8c3aa241d 100644
@@ -46,11 +46,11 @@ matrix:
           compiler: gcc
 
         - os: linux
-          env: DISTRO=opensuse:tumbleweed
+          env: DISTRO=opensuse/tumbleweed
           compiler: gcc
 
         - os: linux
-          env: DISTRO=opensuse:leap
+          env: DISTRO=opensuse/leap
           compiler: gcc
 
         - os: linux
@@ -72,6 +72,7 @@ before_install:
 
 script:
     - INSTALL="${DISTRO%%:*}"
+    - INSTALL="${INSTALL%%/*}"
     - if [ ! "$TREE" ]; then TREE="in"; fi
     - case $VARIANT in cross-compile*) BUILD="cross";; i386) BUILD="32";; *) BUILD="native";; esac
     - docker run -it ltp /bin/sh -c "cd travis && ./$INSTALL.sh && if [ \"$VARIANT\" ]; then ./$INSTALL.$VARIANT.sh; fi && ../build.sh -o $TREE -t $BUILD -c $CC"
Signature · 1 line
2.20.1
author
#2 lore raw

PATCH 1/1 travis: Use official opensuse images

Hi Cyril,

Quoted 8 lines
Quoted 6 lines

We're using deprecated opensuse images [1] [2] which has been now removed, which cause travis failures. Replace them with the official ones.

[1] https://hub.docker.com/_/opensuse/
[2] https://github.com/docker-library/official-images/issues/5371

That looks obvious enough to go in without review, acked anyways.

Thanks, pushed (with installed gzip – not installed by default).

Kind regards,
Petr