summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authortgrogers <[email protected]>2017-07-10 23:30:54 -0400
committertgrogers <[email protected]>2017-07-10 23:30:54 -0400
commita3307c29871f46342b0cd59eab375f2af24d9a37 (patch)
tree3807722154facb66686e105883646c07a58dc4de /.travis.yml
parent6f995f6312bef87bf7310d475ff1eb92d58e0b23 (diff)
pointing a the latest version of the docker image that already has the new pbs_mom built in it.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 254ff4e..b919ba6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,10 +4,8 @@ services:
- docker
before_install:
- - docker pull tgrogers/gpgpu-sim_regress:firsttry
+ - docker pull tgrogers/gpgpu-sim_regress:latest
language: cpp
-#script: docker run -v `pwd`:/home/runner/gpgpu-sim_distribution:rw tgrogers/gpgpu-sim_regress:firsttry /bin/bash -c "wget http://archive.ubuntu.com/ubuntu/pool/universe/t/torque/torque_2.4.16+dfsg.orig.tar.gz && tar xzvf torque_2.4.16+dfsg.orig.tar.gz && cd torque-2.4.16/ && ./configure --disable-posixmemlock && make && cp ./src/resmom/.libs/pbs_mom /usr/sbin/ && echo \"\\\$loglevel 7\" >> /var/spool/torque/mom_priv/config; cd /gpgpu-sim/ && ./start_torque.sh; ps -aux | grep -i pbs; while true; do cat /var/spool/torque/mom_logs/\`ls -rt /var/spool/torque/mom_logs | tail -1\`; ps -aux | grep -i pbs; done"
-#script: docker run -v `pwd`:/home/runner/gpgpu-sim_distribution:rw tgrogers/gpgpu-sim_regress:firsttry /bin/bash -c "echo \"\\\$loglevel 7\" >> /var/spool/torque/mom_priv/config; ./start_torque.sh; ps -aux | grep -i pbs; cat /etc/hosts ;chown -R runner /home/runner/gpgpu-sim_distribution; echo \"mom_2\" && /etc/init.d/torque-mom restart && ps -aux | grep -i pbs && su - runner -c 'source /home/runner/gpgpu-sim_distribution/setup_environment && make -j -C /home/runner/gpgpu-sim_distribution && cd /home/runner/gpgpu-sim_simulations/ && git pull && /home/runner/gpgpu-sim_simulations/util/job_launching/run_simulations.py -N regress && while true; do lscpu; cat /var/spool/torque/server_logs/\`ls /var/spool/torque/server_logs\`; echo \"mom_logs\"; cat /var/spool/torque/mom_logs/\`ls /var/spool/torque/mom_logs\`; ps -aux | grep -i pbs; done'"
-script: docker run -v `pwd`:/home/runner/gpgpu-sim_distribution:rw tgrogers/gpgpu-sim_regress:firsttry /bin/bash -c "wget http://archive.ubuntu.com/ubuntu/pool/universe/t/torque/torque_2.4.16+dfsg.orig.tar.gz && tar xzvf torque_2.4.16+dfsg.orig.tar.gz && cd torque-2.4.16/ && ./configure --disable-posixmemlock && make && cp ./src/resmom/.libs/pbs_mom /usr/sbin/; cd /gpgpu-sim/ && ./start_torque.sh; chown -R runner /home/runner/gpgpu-sim_distribution; su - runner -c 'source /home/runner/gpgpu-sim_distribution/setup_environment && make -j -C /home/runner/gpgpu-sim_distribution && cd /home/runner/gpgpu-sim_simulations/ && git pull && /home/runner/gpgpu-sim_simulations/util/job_launching/run_simulations.py -N regress && /home/runner/gpgpu-sim_simulations/util/job_launching/monitor_func_test.py -N regress'"
+script: docker run -v `pwd`:/home/runner/gpgpu-sim_distribution:rw tgrogers/gpgpu-sim_regress:latest /bin/bash -c "./start_torque.sh; chown -R runner /home/runner/gpgpu-sim_distribution; su - runner -c 'source /home/runner/gpgpu-sim_distribution/setup_environment && make -j -C /home/runner/gpgpu-sim_distribution && cd /home/runner/gpgpu-sim_simulations/ && git pull && /home/runner/gpgpu-sim_simulations/util/job_launching/run_simulations.py -N regress && /home/runner/gpgpu-sim_simulations/util/job_launching/monitor_func_test.py -v -N regress'"