Commit 58c94d57 authored by Thomas Huth's avatar Thomas Huth Committed by Paolo Bonzini
Browse files

travis.yml: Use TRAVIS_BUILD_DIR to refer to the top directory

Travis already has an environment variable that points to the top of
the checked-out source code, TRAVIS_BUILD_DIR. We can use it to avoid
the guessing of the right location of the configure script.

Signed-off-by: default avatarThomas Huth <>
Message-Id: <>
Signed-off-by: default avatarPaolo Bonzini <>
parent 1bbaeac3
......@@ -165,8 +165,7 @@ before_script:
sudo chmod g+s /usr/bin/qemu-system-* ;
- mkdir -p $BUILD_DIR && cd $BUILD_DIR
- if [ -e ./configure ]; then ./configure $CONFIG ; fi
- if [ -e ../configure ]; then ../configure $CONFIG ; fi
- make -j3
- ACCEL="${ACCEL:-tcg}" ./ -v $TESTS | tee results.txt
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment