Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
246165e2
Commit
246165e2
authored
Mar 16, 2018
by
Remi Perenon
Browse files
Modify yaml file to ensure builds and tests are performed in the same stage
parent
c3159e79
Pipeline
#3433
failed with stage
in 60 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
246165e2
stages
:
-
build
-
ci
-
deploy
# trusty pipeline
build
:trusty:
stage
:
build
ci
:trusty:
stage
:
ci
script
:
-
./BuildServer/Debian/run_build.sh
-
./BuildServer/Debian/run_tests.sh
allow_failure
:
false
only
:
-
triggers
...
...
@@ -23,24 +24,6 @@ build:trusty:
tags
:
-
ubuntu14.04
test:trusty:
stage
:
build
script
:
-
./BuildServer/Debian/run_tests.sh
allow_failure
:
false
only
:
-
triggers
-
tags
-
/^feature-.*$/
-
/^release-.*$/
-
/^hotfix-.*$/
-
/^bugfix-.*$/
-
develop
dependencies
:
-
build:trusty
tags
:
-
ubuntu14.04
deploy:trusty:
stage
:
deploy
script
:
...
...
@@ -49,6 +32,8 @@ deploy:trusty:
-
triggers
-
tags
-
develop
dependencies
:
-
ci:trusty
when
:
on_success
artifacts
:
paths
:
...
...
@@ -58,10 +43,11 @@ deploy:trusty:
# osx pipeline
build
:osx:
stage
:
build
ci
:osx:
stage
:
ci
script
:
-
./BuildServer/Darwin/Scripts/run_build.sh
-
./BuildServer/Darwin/Scripts/run_tests.sh
allow_failure
:
false
only
:
-
triggers
...
...
@@ -78,24 +64,6 @@ build:osx:
tags
:
-
macmini2
test:osx:
stage
:
build
script
:
-
./BuildServer/Darwin/Scripts/run_tests.sh
allow_failure
:
false
only
:
-
triggers
-
tags
-
/^feature-.*$/
-
/^release-.*$/
-
/^hotfix-.*$/
-
/^bugfix-.*$/
-
develop
dependencies
:
-
build:osx
tags
:
-
macmini2
deploy:osx:
stage
:
deploy
script
:
...
...
@@ -104,6 +72,8 @@ deploy:osx:
-
triggers
-
tags
-
develop
dependencies
:
-
ci:osx
when
:
on_success
artifacts
:
paths
:
...
...
@@ -111,14 +81,17 @@ deploy:osx:
tags
:
-
macmini2
#
# windows 7 pipeline
# windows 7 pipeline
build
:windows:
stage
:
build
ci
:windows:
stage
:
ci
script
:
-
c:\cygwin64\bin\bash -c "dos2unix.exe ./BuildServer/Windows/run_build.sh"
-
c:\cygwin64\bin\bash -c "chmod a+x ./BuildServer/Windows/run_build.sh"
-
c:\cygwin64\bin\bash -c "./BuildServer/Windows/run_build.sh"
-
c:\cygwin64\bin\bash -c "dos2unix.exe ./BuildServer/Windows/run_tests.sh"
-
c:\cygwin64\bin\bash -c "chmod a+x ./BuildServer/Windows/run_tests.sh"
-
c:\cygwin64\bin\bash -c "./BuildServer/Windows/run_tests.sh"
allow_failure
:
false
only
:
-
triggers
...
...
@@ -135,26 +108,6 @@ build:windows:
tags
:
-
windows
test:windows:
stage
:
build
script
:
-
c:\cygwin64\bin\bash -c "dos2unix.exe ./BuildServer/Windows/run_tests.sh"
-
c:\cygwin64\bin\bash -c "chmod a+x ./BuildServer/Windows/run_tests.sh"
-
c:\cygwin64\bin\bash -c "./BuildServer/Windows/run_tests.sh"
allow_failure
:
false
only
:
-
triggers
-
tags
-
/^feature-.*$/
-
/^release-.*$/
-
/^hotfix-.*$/
-
/^bugfix-.*$/
-
develop
dependencies
:
-
build:windows
tags
:
-
windows
deploy:windows:
stage
:
deploy
script
:
...
...
@@ -165,6 +118,8 @@ deploy:windows:
-
triggers
-
tags
-
develop
dependencies
:
-
ci:windows
when
:
on_success
artifacts
:
paths
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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