Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
ab4d2e2c
Commit
ab4d2e2c
authored
Jan 02, 2016
by
John Chodera (MSKCC)
Browse files
Attempt to fix travis test timeout.
parent
1d75fbfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
.travis.yml
.travis.yml
+3
-1
No files found.
.travis.yml
View file @
ab4d2e2c
...
@@ -130,6 +130,7 @@ before_install:
...
@@ -130,6 +130,7 @@ before_install:
fi
fi
script
:
script
:
-
CTEST_TIMEOUT=600
-
CTEST_STOP_TIME=$(python -c "from datetime import datetime, timedelta; import sys; sys.stdout.write((datetime.now() + timedelta(minutes=25)).strftime('%H:%M:%S'))")
-
CTEST_STOP_TIME=$(python -c "from datetime import datetime, timedelta; import sys; sys.stdout.write((datetime.now() + timedelta(minutes=25)).strftime('%H:%M:%S'))")
-
cmake . $CMAKE_FLAGS -DCMAKE_INSTALL_PREFIX=$HOME/OpenMM
-
cmake . $CMAKE_FLAGS -DCMAKE_INSTALL_PREFIX=$HOME/OpenMM
-
make -j2 install
-
make -j2 install
...
@@ -145,7 +146,8 @@ script:
...
@@ -145,7 +146,8 @@ script:
fi
fi
-
# run all of the tests, making sure failures at this stage don't cause travis failures
-
# run all of the tests, making sure failures at this stage don't cause travis failures
-
python devtools/run-ctest.py -j2 --schedule-random --stop-time $CTEST_STOP_TIME
-
# set a timeout of $CTEST_TIMEOUT seconds for each individual test
-
python devtools/run-ctest.py -j2 --schedule-random --stop-time $CTEST_STOP_TIME --timeout $CTEST_TIMEOUT
-
if [[ ! -z "${DOCS_DEPLOY}" && "${DOCS_DEPLOY}" = "true" ]]; then
-
if [[ ! -z "${DOCS_DEPLOY}" && "${DOCS_DEPLOY}" = "true" ]]; then
pip install sphinx sphinxcontrib-lunrsearch sphinxcontrib-autodoc_doxygen;
pip install sphinx sphinxcontrib-lunrsearch sphinxcontrib-autodoc_doxygen;
make C++ApiDocs PythonApiDocs;
make C++ApiDocs PythonApiDocs;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment