diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/nixery/.travis.yml | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/tools/nixery/.travis.yml b/tools/nixery/.travis.yml index 02700c319686..72b2a657b34b 100644 --- a/tools/nixery/.travis.yml +++ b/tools/nixery/.travis.yml @@ -55,4 +55,25 @@ script: echo -n "." sleep 1 done - - docker run --rm localhost:8080/hello hello + + # Pull and run an image of the current CPU architecture + - | + case $(uname -m) in + x86_64) + docker run --rm localhost:8080/hello hello + ;; + aarch64) + docker run --rm localhost:8080/arm64/hello hello + ;; + esac + + # Pull an image of the opposite CPU architecture (but without running it) + - | + case $(uname -m) in + x86_64) + docker pull localhost:8080/arm64/hello + ;; + aarch64) + docker pull localhost:8080/hello + ;; + esac |