-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from opencobra/develop
Regular merge of develop
- Loading branch information
Showing
15 changed files
with
113 additions
and
97 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ before_install: | |
- CURRENT_DIR=`pwd`; | ||
|
||
# remove the cloned repository even after failure | ||
- rm -rf ~/MATLAB.devTools.CI; | ||
- rm -rf $ARTENOLIS_DATA_PATH/repos/MATLAB.devTools.CI; | ||
|
||
# change to the current directory | ||
- cd $CURRENT_DIR; | ||
|
@@ -20,9 +20,9 @@ script: | |
- cd $CURRENT_DIR; | ||
|
||
# before launching the tests, make sure that the upstream repository is changed | ||
- cd; | ||
- rm -rf ~/MATLAB.devTools.CI; | ||
- git clone [email protected]:uni-lu/MATLAB.devTools.CI.git; | ||
- cd $ARTENOLIS_DATA_PATH/repos/; | ||
- rm -rf MATLAB.devTools.CI; | ||
- git clone [email protected]:LCSB-BioCore/MATLAB.devTools.CI.git; | ||
- cd MATLAB.devTools.CI; | ||
- git remote -v; | ||
- eval "$(ssh-agent -s)"; | ||
|
@@ -50,16 +50,23 @@ script: | |
# launch the tests | ||
- sh ./.artenolis/runtests.sh; | ||
|
||
- cd ~/fork-MATLAB.devTools.CI; | ||
- git reset --hard origin/develop; | ||
|
||
after_success: | ||
|
||
# remove the cloned fork-repo | ||
- if [ "$MATLAB_VER" == "R2016b" ]; then | ||
# submit coverage report | ||
- if [[ "$MATLAB_VER" == "R2018b" && "$ARCH" == "Linux" ]]; then | ||
bash <(curl -s https://codecov.io/bash) -f "!*.lst"; | ||
export PATH="/home/sbg-jenkins/.local/bin":$PATH; | ||
fi | ||
|
||
# deploy the documentation | ||
- if [[ "$MATLAB_VER" == "R2018b" && "$JENKINS_PULL_REQUEST" != "True" ]]; then | ||
export PATH="/home/jenkins/.local/bin":$PATH; | ||
cd $CURRENT_DIR; | ||
pip install --upgrade --user -r docs/requirements.txt; | ||
python -c "from documenter.deploy import Documentation; doc = Documentation('github.com/opencobra/MATLAB.devTools', ci='jenkins'); doc.deploy()"; | ||
fi | ||
|
||
after_script: | ||
|
||
# reset the fork | ||
- cd $ARTENOLIS_DATA_PATH/repos/fork-MATLAB.devTools.CI; | ||
- git reset --hard origin/develop; |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
cd ./test | ||
/mnt/prince-data/MATLAB/$MATLAB_VER/bin/./matlab -nodesktop -nosplash -r "launchTests;" < inputCI.txt; | ||
$ARTENOLIS_SOFT_PATH/MATLAB/$MATLAB_VER/bin/./matlab -nodesktop -nosplash -r "launchTests;" < inputCI.txt; | ||
CODE=$? | ||
exit $CODE |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "external/rdir"] | ||
path = external/rdir | ||
url = https://github.com/uni-lu/rdir.git | ||
url = https://github.com/LCSB-BioCore/rdir.git |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
git+https://github.com/uni-lu/sphinx.git@develop#egg=sphinx | ||
git+https://github.com/LCSB-BioCore/sphinx.git@develop#egg=sphinx | ||
git+https://github.com/syarra/sphinxcontrib-matlabdomain#egg=sphinxcontrib-matlabdomain | ||
sphinx_rtd_theme | ||
git+https://github.com/uni-lu/sphinx_julia_theme.git@develop#egg=sphinx_julia_theme | ||
git+https://github.com/syarra/Documenter.py@develop#egg=documenter | ||
git+https://github.com/uni-lu/sphinxcontrib-napoleon.git@develop#egg=sphinxcontrib_napoleon | ||
git+https://github.com/LCSB-BioCore/sphinx_julia_theme.git@develop#egg=sphinx_julia_theme | ||
git+https://github.com/syarra/Documenter.py@master#egg=documenter | ||
git+https://github.com/LCSB-BioCore/sphinxcontrib-napoleon.git@develop#egg=sphinxcontrib_napoleon |
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
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 |
---|---|---|
|
@@ -122,10 +122,10 @@ shell). On **Windows**, start ``GUI Bash``. Then type | |
Please replace ``"yourGitHubUsername"`` and ``"[email protected]"`` | ||
with your respective credentials. | ||
|
||
.. |windows0| image:: https://prince.lcsb.uni.lu/img/installation_git_windows_0.png | ||
.. |windows0| image:: https://prince.lcsb.uni.lu/MATLAB.devTools/img/installation_git_windows_0.png | ||
:width: 280px | ||
|
||
.. |windows1| image:: https://prince.lcsb.uni.lu/img/installation_git_windows_1.png | ||
.. |windows1| image:: https://prince.lcsb.uni.lu/MATLAB.devTools/img/installation_git_windows_1.png | ||
:width: 280px | ||
|
||
.. include:: ../../README.rst | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ COBRA.tutorials | |
|
||
.. |warning| raw:: html | ||
|
||
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/warning.png" height="20px" width="20px" alt="warning"> | ||
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/warning.png" height="20px" width="20px" alt="warning"> | ||
|
||
|warning| This section is tailored to users who feel comfortable using | ||
the terminal (or shell). It is recommended for other users | ||
|
@@ -18,25 +18,25 @@ Fork and checkout your branch | |
1. Fork the `COBRA.tutorials repository <https://www.github.com/opencobra/COBRA.tutorials>`__ on Github. | ||
|
||
2. Clone the forked repository to ``fork-COBRA.tutorials`` located in a directory of your choice: | ||
|
||
.. code-block:: console | ||
$ git clone [email protected]:<userName>/COBRA.tutorials.git fork-COBRA.tutorials.git | ||
3. Change to the directory ``fork-COBRA.tutorials``: | ||
|
||
.. code-block:: console | ||
$ cd fork-COBRA.tutorials.git/ | ||
4. Set the upstream to the ``opencobra/COBRA.tutorials`` repository: | ||
|
||
.. code-block:: console | ||
$ git remote add upstream [email protected]:opencobra/COBRA.tutorials.git | ||
5. Fetch from the upstream repository | ||
|
||
.. code-block:: console | ||
$ git fetch upstream | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
cobrabot | ||
/home/sbg-jenkins/ | ||
artenobot | ||
/mnt/artenolis-data/repos/ | ||
y | ||
n | ||
testFile1 | ||
|
Oops, something went wrong.