diff options
-rw-r--r-- | .gitlab-ci.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..fa4f2d4 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +before_script: + - export PATH=~/bin:/usr/local/bin:/usr/bin:/bin + - gem install bundler + - cp config.yml.example config.yml + - bundle install + +rspec: + script: + - bundle exec rspec spec + tags: + - git-annex + - ruby + except: + - tags + +rubocop: + script: + - bundle exec rubocop + tags: + - ruby + except: + - tags |