summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0e455a8..3b5bee8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,6 @@
-image: ruby:2.1
+image: leapcode/ruby:2.1-slim
stages:
- - syntax
- build
- trigger
@@ -9,6 +8,11 @@ build:
stage: build
script:
- rake build
+ #- sudo rake install
+ #- ./bin/leap
+ - gem install --user-install pkg/leap_cli-*.gem
+ - export PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
+ - leap
artifacts:
paths:
- pkg/leap_cli-*.gem