We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0583051 commit b6c3f2dCopy full SHA for b6c3f2d
.travis.yml
@@ -1,3 +1,6 @@
1
+arch:
2
+ - amd64
3
+ - ppc64le
4
services:
5
- docker
6
script: .travis/run-in-docker
.travis/run-in-docker
@@ -1,8 +1,11 @@
#! /bin/bash -x
+# we don't use the '-t' docker run flag because it is not supported on ppc64le
+# archictecture on Travis and throws an error "The input device is not a TTY"
+
container_id=$(
- docker run -d -ti -v `pwd`:/workdir:Z -u $(id -u) registry.fedoraproject.org/fedora bash
-)
7
+ docker run -d -i -v `pwd`:/workdir:Z -u $(id -u) registry.fedoraproject.org/fedora bash
8
+ )
9
10
cleanup ()
11
{
@@ -18,7 +21,7 @@ run_in_container ()
18
21
uid=0
19
22
fi
20
23
- docker exec -u $uid -ti "$container_id" "$@"
24
+ docker exec -u $uid -i "$container_id" "$@"
25
}
26
27
buildrequires='
0 commit comments