summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-09-28 15:06:04 -0700
committerelijah <elijah@riseup.net>2016-09-28 15:06:04 -0700
commite207c628f9aeadf1c93b6756f00bb97789dc7673 (patch)
tree85289f2a0433c878a97550fa3274661f5d2a0dee /.gitlab-ci.yml
parentbc50fa403a76496df7fe3f242838da3bafa58665 (diff)
actually fix ci tests
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: