summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml30
1 files changed, 20 insertions, 10 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 28f873f4..8f836cfa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,5 @@
stages:
+- test
- deploy
- fail
- ok
@@ -7,16 +8,33 @@ image: debian:stable
before_script:
- uname -a
+testxml:
+ stage: test
+ script:
+ - apt-get update
+ - apt-get -y -qq install git-core zip gcc zlib1g-dev ca-certificates libxml2-utils python python-pyvorbis python-ogg python-pil
+ - cd ..
+ - rm -rf tools
+ - git clone https://gitlab.com/evol/evol-tools.git tools
+ - pwd
+ - ./tools/gitlab-ci/clientdata/testxml.sh
+ - pwd
+ - ls clientdata/shared
+ artifacts:
+ paths:
+ - shared
+ - public
+
pages:
stage: deploy
script:
- apt-get update
- - apt-get -y -qq install git-core zip gcc zlib1g-dev ca-certificates libxml2-utils python python-pyvorbis python-ogg python-pil
+ - apt-get -y -qq install git-core zip gcc zlib1g-dev ca-certificates libxml2-utils python
- cd ..
- rm -rf tools
- git clone https://gitlab.com/evol/evol-tools.git tools
- pwd
- - ./tools/gitlab-ci/clientdata.sh
+ - ./tools/gitlab-ci/clientdata/deploy.sh
- pwd
- ls clientdata/shared
artifacts:
@@ -35,10 +53,6 @@ ok_job:
artifacts:
paths:
- shared
- dependencies:
- - pages
- only:
- - master
fail_job:
stage: fail
@@ -49,7 +63,3 @@ fail_job:
# artifacts:
# paths:
# - shared
- dependencies:
- - pages
- only:
- - master