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 set +e
# Execute main process # Execute main process
timeout $TIMEOUT_LINUX docker exec storm bash -c "
docker exec storm bash -c "
export CONFIG=$CONFIG; export CONFIG=$CONFIG;
export COMPILER=$COMPILER; export COMPILER=$COMPILER;
export N_JOBS=$N_JOBS; export N_JOBS=$N_JOBS;
export STLARG=; export STLARG=;
export OS=$OS; export OS=$OS;
cd /opt/storm; cd /opt/storm;
travis/build_helper.sh $1"
timeout $TIMEOUT_LINUX ./travis/build_helper.sh $1"
EXITCODE=$? EXITCODE=$?
;; ;;

4
travis/build_carl.sh

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

Loading…
Cancel
Save