travis: use latest docker image
This commit is contained in:
parent
c91a6d1373
commit
9b47cff39b
|
@ -42,8 +42,7 @@ run_tests() {
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
if [[ $LINUX && ${IN_DOCKER_CONTAINER:-n} == n ]]; then
|
if [[ $LINUX && ${IN_DOCKER_CONTAINER:-n} == n ]]; then
|
||||||
local tag=2016-08-24
|
# NOTE The Dockerfile of this image is in the docker branch of this repository
|
||||||
|
|
||||||
docker run \
|
docker run \
|
||||||
--privileged \
|
--privileged \
|
||||||
-e IN_DOCKER_CONTAINER=y \
|
-e IN_DOCKER_CONTAINER=y \
|
||||||
|
@ -52,7 +51,7 @@ main() {
|
||||||
-e TRAVIS_COMMIT=$TRAVIS_COMMIT \
|
-e TRAVIS_COMMIT=$TRAVIS_COMMIT \
|
||||||
-e TRAVIS_OS_NAME=$TRAVIS_OS_NAME \
|
-e TRAVIS_OS_NAME=$TRAVIS_OS_NAME \
|
||||||
-v $(pwd):/mnt \
|
-v $(pwd):/mnt \
|
||||||
japaric/rustc-builtins:$tag \
|
japaric/rustc-builtins \
|
||||||
sh -c 'cd /mnt;
|
sh -c 'cd /mnt;
|
||||||
bash ci/install.sh;
|
bash ci/install.sh;
|
||||||
bash ci/script.sh'
|
bash ci/script.sh'
|
||||||
|
|
Loading…
Reference in New Issue