Browse Source

Travis: move timeout into docker container as suggested by jklein

tempestpy_adaptions
Matthias Volk 7 years ago
parent
commit
df52f3fbb4
  1. 4
      travis/build.sh
  2. 4
      travis/build_carl.sh

4
travis/build.sh

@ -43,14 +43,14 @@ linux)
set +e
# Execute main process
timeout $TIMEOUT_LINUX docker exec storm bash -c "
docker exec storm bash -c "
export CONFIG=$CONFIG;
export COMPILER=$COMPILER;
export N_JOBS=$N_JOBS;
export STLARG=;
export OS=$OS;
cd /opt/storm;
travis/build_helper.sh $1"
timeout $TIMEOUT_LINUX ./travis/build_helper.sh $1"
EXITCODE=$?
;;

4
travis/build_carl.sh

@ -18,14 +18,14 @@ linux)
set +e
# Execute main process
timeout $TIMEOUT_LINUX docker exec carl bash -c "
docker exec carl bash -c "
export CONFIG=$CONFIG;
export COMPILER=$COMPILER;
export N_JOBS=$N_JOBS;
export STLARG=;
export OS=$OS;
cd /opt/;
./build_carl_helper.sh"
timeout $TIMEOUT_LINUX ./build_carl_helper.sh"
;;
osx)

Loading…
Cancel
Save