Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
the_dungeon_project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
genie_logiciel_2015
the_dungeon_project
Commits
070a5f70
Commit
070a5f70
authored
Jan 11, 2016
by
Fardale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout des test au CI
parent
36a2869d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
CI/post-merge
CI/post-merge
+9
-6
No files found.
CI/post-merge
View file @
070a5f70
...
@@ -6,20 +6,23 @@ make clean
...
@@ -6,20 +6,23 @@ make clean
if
!
make
;
then
if
!
make
;
then
echo
'Compilation error in the master branch.'
>
CI/msg
echo
'Compilation error in the master branch.'
>
CI/msg
echo
'Result of make :\n'
>>
CI/msg
echo
'Result of make :\n'
>>
CI/msg
make 2>> CI/msgerror
make 2>> CI/msg
cat
CI/msgerror
>>
CI/msg
echo
'\n-- \nCI script'
>>
CI/msg
echo
'\n-- \nCI script'
>>
CI/msg
# Kludge : pas de serveur smtp accessible depuis la salle.
# Kludge : pas de serveur smtp accessible depuis la salle.
scp CI/msg fardale@crash-test.crans.org:the_dungeon_project/
scp CI/msg fardale@crash-test.crans.org:the_dungeon_project/
ssh fardale@crash-test.crans.org
'./the_dungeon_project/mailci.py "ens-info-genielog-2015@lists.crans.org" ./the_dungeon_project/msg'
ssh fardale@crash-test.crans.org
'./the_dungeon_project/mailci.py "ens-info-genielog-2015@lists.crans.org" ./the_dungeon_project/msg'
rm
-f
CI/msg
rm
-f
CI/msg
echo
'It seems that your commit breaks the compilation of the project.'
>
CI/msg
fi
echo
'Result of make :\n'
>>
CI/msg
cat
CI/msgerror
>>
CI/msg
if
!
make
test
;
then
echo
'Test error in the master branch.'
>
CI/msg
echo
'Result of make test :\n'
>>
CI/msg
make
test
2>> CI/msg
echo
'\n-- \nCI script'
>>
CI/msg
echo
'\n-- \nCI script'
>>
CI/msg
# Kludge : pas de serveur smtp accessible depuis la salle.
# Kludge : pas de serveur smtp accessible depuis la salle.
scp CI/msg fardale@crash-test.crans.org:the_dungeon_project/
scp CI/msg fardale@crash-test.crans.org:the_dungeon_project/
ssh fardale@crash-test.crans.org
"./the_dungeon_project/mailci.py
$(
git log
-n
1 |
grep
Author |
sed
"s/.*<
\(
.*
\)
>/
\1
/g"
)
./the_dungeon_project/msg"
ssh fardale@crash-test.crans.org
'./the_dungeon_project/mailci.py "ens-info-genielog-2015@lists.crans.org" ./the_dungeon_project/msg'
rm
-f
CI/msg
fi
fi
exit
0
exit
0
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