summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0269b93..5aca7d3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,8 +21,14 @@ build:
test:
stage: test
script:
+# - apt-get install --yes pkg-config
+# - bundle config build.nokogiri --use-system-libraries
+ - apt-get install rake
- bundle install --path vendor/bundle --with test
- - bundle exec rake test
+ - git clone https://leap.se/git/leap_platform.git -b develop
+ - chmod -R a+rwX test/provider
+ - useradd -ms /bin/bash testuser
+ - su -c "PLATFORM_DIR=$(readlink -e leap_platform) bundle exec rake test" testuser
# trigger leap_platform pipeline
trigger: