Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI set up travis to run with and without slurm
- Loading branch information
Showing
3 changed files
with
32 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
# This script is meant to be called by the "install" step defined in | ||
# .travis.yml. See http://docs.travis-ci.com/ for more details. | ||
# The behavior of the script is controlled by environment variabled defined | ||
# in the .travis.yml in the top level folder of the project. | ||
|
||
# License: 3-clause BSD | ||
|
||
|
||
set -e # Exit on first error | ||
|
||
# Install dependency for full test | ||
pip install coverage coveralls | ||
pip install sphinx_bootstrap_theme | ||
|
||
|
||
if [[ "$SCHEDULER" == "SLURM" ]]; then | ||
sudo apt-get install slurm-llnl | ||
sudo /usr/sbin/create-munge-key | ||
sudo service munge start | ||
sudo python continuous_integration/configure_slurm.py | ||
fi |