Skip to content

Commit

Permalink
travis: Use official opensuse images
Browse files Browse the repository at this point in the history
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] docker-library/official-images#5371

Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Mar 1, 2019
1 parent ee57ebe commit 6d124b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

0 comments on commit 6d124b9

Please sign in to comment.