Skip to content

Commit 7295cf0

Browse files
committed
Fix Travis sorting so 11 comes first
1 parent 2337858 commit 7295cf0

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ language: bash
22
services: docker
33

44
env:
5+
- VERSION=11
6+
- VERSION=11 FORCE_DEB_BUILD=1
7+
- VERSION=11 VARIANT=alpine
8+
- VERSION=10
9+
- VERSION=10 FORCE_DEB_BUILD=1
10+
- VERSION=10 VARIANT=alpine
511
- VERSION=9.6
612
- VERSION=9.6 FORCE_DEB_BUILD=1
713
- VERSION=9.6 VARIANT=alpine
@@ -14,12 +20,6 @@ env:
1420
- VERSION=9.3
1521
- VERSION=9.3 FORCE_DEB_BUILD=1
1622
- VERSION=9.3 VARIANT=alpine
17-
- VERSION=11
18-
- VERSION=11 FORCE_DEB_BUILD=1
19-
- VERSION=11 VARIANT=alpine
20-
- VERSION=10
21-
- VERSION=10 FORCE_DEB_BUILD=1
22-
- VERSION=10 VARIANT=alpine
2323

2424
install:
2525
- git clone https://github.com/docker-library/official-images.git ~/official-images

update.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ if [ ${#versions[@]} -eq 0 ]; then
99
fi
1010
versions=( "${versions[@]%/}" )
1111

12+
# sort version numbers with highest last (so it goes first in .travis.yml)
13+
IFS=$'\n'; versions=( $(echo "${versions[*]}" | sort -V) ); unset IFS
14+
1215
defaultDebianSuite='stretch-slim'
1316
declare -A debianSuite=(
1417
#[9.6]='jessie'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy