Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ci.sh - github.com/mozilla/geckodriver.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ci.sh
blob: 7a43e34bd4f815eadccf6572b54af857b4909d7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
set -ex

if [ ! -z "$DOCKER_IMAGE" ]
then
	tag="$DOCKER_IMAGE/latest"
	docker build $DOCKER_IMAGE -t $tag
	docker run \
	    	-e USER="$USER" \
	    	-e TARGET="$TARGET" \
	    	-e TOOLCHAIN="$TOOLCHAIN" \
	    	-e DOCKER_IMAGE="$DOCKER_IMAGE" \
	    	-e NAME="$NAME" \
	    	-e TRAVIS_TAG="$TRAVIS_TAG" \
	    	-e USER_ID=$(id -u) \
	    	-e GROUP_ID=$(id -g) \
		-v $PWD:/mnt/host \
		-i $tag \
		bash -s -- < build.sh
else
	bash build.sh
fi