Skip to content

Commit

Permalink
Add travis files
Browse files Browse the repository at this point in the history
  • Loading branch information
gmatteo committed Apr 14, 2017
1 parent bae83d3 commit c8cd559
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dev_scripts/travis_manager.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
qadapters:
-
priority: 1
queue:
qname: travis
qtype: shell
job:
mpi_runner: mpirun
pre_run:
- source activate test-environment
limits:
min_cores: 1
max_cores: 2
timelimit: 0:10:0
hardware:
num_nodes: 1
sockets_per_node: 1
cores_per_socket: 2
mem_per_node: 4 Gb
40 changes: 40 additions & 0 deletions dev_scripts/travis_scheduler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# number of weeks to wait.
#weeks: 0

# number of days to wait.
#days: 0

# number of hours to wait.
#hours: 0

# number of minutes to wait.
#minutes: 0

# number of seconds to wait.
seconds: 10

# when to first execute the job and start the counter (default is after the given interval).
#start_date:

# Send mail to the specified address (accepts string or list of strings).
# PRO TIP: the scheduler WILL try to send and email after a default time of 4 days. If you
# comment out the mailto address, this will cause the scheduler to terminate, with
# potentially nefarious effects on your running jobs. If you do not wish to receive
# emails, a work around is to set the variable `remindme_s` below to something very
# large (say, 100 days).
#mailto: [email protected]

# verbosity level (int, default 0)
#verbose: 0

# The scheduler will shutdown when the number of python exceptions is > max_num_pyexcs
#max_num_pyexcs: 2

# The scheduler will shutdown when the number of Abinit errors is > max_num_abierrs
#max_num_abierrs: 0

# The scheduler will shutdow when the total number of tasks launched is > safety_ratio * tot_num_tasks.
#safety_ratio: 5

# Send an e-mail to mailto every remindme_s seconds.
#remindme_s: 345600

0 comments on commit c8cd559

Please sign in to comment.