Create temporary docker image.

This commit is contained in:
chriseth 2017-03-17 10:34:07 +01:00
parent 3f83bb80bf
commit f9792a6171

View File

@ -177,10 +177,10 @@ install:
- test "$TRAVIS_OS_NAME" != "linux" || (scripts/install_cmake.sh)
- echo -n "$TRAVIS_COMMIT" > commit_hash.txt
- test $SOLC_DOCKER != On || (
docker build -t ethereum/solc:build -f scripts/Dockerfile .
tmp_container=$(docker create brainbot-com/solidity-static sh)
docker build -t tmp -f scripts/Dockerfile .
tmp_container=$(docker create tmp sh)
mkdir -p upload
docker cp ${tmp_container}:/usr/local/bin/solc upload/
docker cp ${tmp_container}:/usr/bin/solc upload/
)
before_script: