Gitlab CI added for automated tests
This commit is contained in:
parent
a27ee1c6e7
commit
8719900613
1 changed files with 9 additions and 0 deletions
9
.gitlab-ci.yml
Normal file
9
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- apt-get update -qy
|
||||
- apt-get install -y python-psycopg2 ruby imagemagick
|
||||
- bundle install --path /cache
|
||||
- bundle exec rake db:create RAILS_ENV=test
|
||||
- bundle exec rake test
|
||||
Loading…
Add table
Add a link
Reference in a new issue