Add travis tests for i386
This commit is contained in:
parent
7d4e0960b4
commit
820f21cdf2
19
.travis.yml
19
.travis.yml
@ -11,6 +11,7 @@ install:
|
|||||||
before_script:
|
before_script:
|
||||||
- env | sort
|
- env | sort
|
||||||
- image="nextcloud:${VERSION}${VARIANT:+-$VARIANT}"
|
- image="nextcloud:${VERSION}${VARIANT:+-$VARIANT}"
|
||||||
|
- if [[ "$ARCH" == 'i386' ]]; then sed -i -e 's/FROM php/FROM i386\/php/g' "${VERSION}/${VARIANT}/Dockerfile"; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- travis_retry docker build -t "$image" "${VERSION}/${VARIANT}"
|
- travis_retry docker build -t "$image" "${VERSION}/${VARIANT}"
|
||||||
@ -40,9 +41,15 @@ jobs:
|
|||||||
- ./generate-stackbrew-library.sh
|
- ./generate-stackbrew-library.sh
|
||||||
|
|
||||||
- stage: test images
|
- stage: test images
|
||||||
env: VERSION=10.0 VARIANT=fpm
|
env: VERSION=10.0 VARIANT=fpm ARCH=amd64
|
||||||
- env: VERSION=10.0 VARIANT=apache
|
- env: VERSION=10.0 VARIANT=fpm ARCH=i386
|
||||||
- env: VERSION=11.0 VARIANT=fpm
|
- env: VERSION=10.0 VARIANT=apache ARCH=amd64
|
||||||
- env: VERSION=11.0 VARIANT=apache
|
- env: VERSION=10.0 VARIANT=apache ARCH=i386
|
||||||
- env: VERSION=12.0 VARIANT=fpm
|
- env: VERSION=11.0 VARIANT=fpm ARCH=amd64
|
||||||
- env: VERSION=12.0 VARIANT=apache
|
- env: VERSION=11.0 VARIANT=fpm ARCH=i386
|
||||||
|
- env: VERSION=11.0 VARIANT=apache ARCH=amd64
|
||||||
|
- env: VERSION=11.0 VARIANT=apache ARCH=i386
|
||||||
|
- env: VERSION=12.0 VARIANT=fpm ARCH=amd64
|
||||||
|
- env: VERSION=12.0 VARIANT=fpm ARCH=i386
|
||||||
|
- env: VERSION=12.0 VARIANT=apache ARCH=amd64
|
||||||
|
- env: VERSION=12.0 VARIANT=apache ARCH=i386
|
||||||
|
@ -59,7 +59,9 @@ for latest in "${latests[@]}"; do
|
|||||||
# Copy apps.config.php
|
# Copy apps.config.php
|
||||||
cp apps.config.php "$version/$variant/apps.config.php"
|
cp apps.config.php "$version/$variant/apps.config.php"
|
||||||
|
|
||||||
travisEnv='\n - env: VERSION='"$version"' VARIANT='"$variant$travisEnv"
|
for arch in i386 amd64; do
|
||||||
|
travisEnv='\n - env: VERSION='"$version"' VARIANT='"$variant"' ARCH='"$arch$travisEnv"
|
||||||
|
done
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user